aboutsummaryrefslogtreecommitdiffstats
path: root/examples/charts/modeldata
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2023-12-05 13:10:16 +0100
committerAdrian Herrmann <adrian.herrmann@qt.io>2023-12-06 15:04:33 +0100
commitdcf38e34858ee74857a1cc431b12a3b88865cade (patch)
treeb49d3bab810ad590ec15dc1cbf5a9566c1472b23 /examples/charts/modeldata
parent55015346f4107ca3383e7ab54be38e72ec8b07d1 (diff)
Examples: Fix a number of flake8 errors (part 3)
Fix unused variable errors and other miscellaneous errors not included in parts 1 and 2. Pick-to: 6.6 Change-Id: Ifb4336cd4ecdd62928042e1011d4430a461efc7c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/charts/modeldata')
-rw-r--r--examples/charts/modeldata/modeldata.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/charts/modeldata/modeldata.py b/examples/charts/modeldata/modeldata.py
index d18feafa7..0e36f7770 100644
--- a/examples/charts/modeldata/modeldata.py
+++ b/examples/charts/modeldata/modeldata.py
@@ -101,9 +101,6 @@ class TableWidget(QWidget):
self.mapper.setModel(self.model)
self.chart.addSeries(self.series)
- # for storing color hex from the series
- seriesColorHex = "#000000"
-
# get the color of the series and use it for showing the mapped area
self.model.add_mapping(self.series.pen().color().name(),
QRect(0, 0, 2, self.model.rowCount()))