From daf433802151902607d452d7f269054a67c92b8a Mon Sep 17 00:00:00 2001 From: Pierre Raybaut Date: Sun, 1 Oct 2023 17:11:20 +0200 Subject: [PATCH] Fixed #74: TypeError: QwtPlotDict.__init__() [...] with PySide 6.5.0 --- CHANGELOG.md | 2 ++ qwt/plot.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d774b8..4441689 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - Unit tests: added support for ``pytest`` and ``coverage`` (60% coverage as of today) +- [Issue #74](https://github.com/PlotPyStack/PythonQwt/issues/74) - TypeError: QwtPlotDict.__init__() [...] with PySide 6.5.0 + - [Issue #77](https://github.com/PlotPyStack/PythonQwt/issues/77) - AttributeError: 'XXX' object has no attribute '_QwtPlot__data' - [Issue #72](https://github.com/PlotPyStack/PythonQwt/issues/72) - AttributeError: 'QwtScaleWidget' object has no attribute 'maxMajor' / 'maxMinor' / 'stepSize' diff --git a/qwt/plot.py b/qwt/plot.py index c7a603e..9a3c4d9 100644 --- a/qwt/plot.py +++ b/qwt/plot.py @@ -217,7 +217,7 @@ def __init__(self): self.scaleWidget = None # QwtScaleWidget -class QwtPlot(QFrame, QwtPlotDict): +class QwtPlot(QwtPlotDict, QFrame): """ A 2-D plotting widget