summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Charts/python
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-07-27 18:01:30 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-07-27 18:52:48 +0200
commit2c3bf9471d779ea40112a3ae70eec40eaf57cf6f (patch)
treeceb094a2533e9723ba9a6c9fad7d35a1e6f3d7c5 /odk/examples/DevelopersGuide/Charts/python
parent4d18fa7694bae0b3d4364aa3072216782b7a5f26 (diff)
odk, oox, pyuno: fix issues found by Ruff linter
Change-Id: I79d56453877a10502768b522ca93da3990891c0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171098 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'odk/examples/DevelopersGuide/Charts/python')
-rw-r--r--odk/examples/DevelopersGuide/Charts/python/ChartInCalc.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Charts/python/ChartInCalc.py b/odk/examples/DevelopersGuide/Charts/python/ChartInCalc.py
index 787cc2274020..141e939e1cf2 100644
--- a/odk/examples/DevelopersGuide/Charts/python/ChartInCalc.py
+++ b/odk/examples/DevelopersGuide/Charts/python/ChartInCalc.py
@@ -71,11 +71,6 @@ class ChartInCalc(object):
def test_data_point_properties(self):
# set properties for a single data point
try:
- # determine the maximum value of the first series
- data_array = self._chart_document.getData()
- data = data_array.getData()
- max_value = max([data[i][1] for i in range(len(data))])
-
# first parameter is the index of the point, the second one is the series
point_prop = self._diagram.getDataPointProperties(0, 1)