diff options
Diffstat (limited to 'examples/charts/percentbarchart/percentbarchart.py')
-rw-r--r-- | examples/charts/percentbarchart/percentbarchart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/percentbarchart/percentbarchart.py b/examples/charts/percentbarchart/percentbarchart.py index b9301f36e..6557fe81a 100644 --- a/examples/charts/percentbarchart/percentbarchart.py +++ b/examples/charts/percentbarchart/percentbarchart.py @@ -50,7 +50,7 @@ from PySide6.QtCharts import (QBarCategoryAxis, QBarSet, QChart, QChartView, class MainWindow(QMainWindow): def __init__(self): - QMainWindow.__init__(self) + super().__init__() set0 = QBarSet("Jane") set1 = QBarSet("John") |