diff options
| author | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-12-05 13:00:27 +0100 |
|---|---|---|
| committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2023-12-06 11:52:07 +0100 |
| commit | 592c734e57b00040329b49dfbe11869980dff88a (patch) | |
| tree | 79fa3498cb974e5026415971ec83107b92b65919 /examples/graphs/widgetgallery/variantbardataproxy.py | |
| parent | c0329cff9d7378b8bf6a17baeb97bf5a240977fc (diff) | |
Examples: Fix a number of flake8 errors (part 1)
First batch, including low-hanging fruit like Alignments, whitespaces,
line length, indents, etc.
Pick-to: 6.6
Change-Id: I55966876077f7fddfdc82cbe376677af9995f329
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/graphs/widgetgallery/variantbardataproxy.py')
| -rw-r--r-- | examples/graphs/widgetgallery/variantbardataproxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphs/widgetgallery/variantbardataproxy.py b/examples/graphs/widgetgallery/variantbardataproxy.py index 743dafcca..5ab2a2cd2 100644 --- a/examples/graphs/widgetgallery/variantbardataproxy.py +++ b/examples/graphs/widgetgallery/variantbardataproxy.py @@ -64,8 +64,8 @@ class VariantBarDataProxy(QBarDataProxy): # If we have no data or mapping, or the categories are not defined, # simply clear the array if (not self._dataSet or not self._mapping - or not self._mapping.rowCategories() - or not self._mapping.columnCategories()): + or not self._mapping.rowCategories() + or not self._mapping.columnCategories()): self.resetArray() return |
