Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb8099 commit f26e04aCopy full SHA for f26e04a
lib/matplotlib/backends/backend_qt5.py
@@ -234,6 +234,8 @@ def __init__(self, figure):
234
# NB: Using super for this call to avoid a TypeError:
235
# __init__() takes exactly 2 arguments (1 given) on QWidget
236
# PyQt5
237
+ # The need for this change is documented here
238
+ # http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html#cooperative-multi-inheritance
239
super(FigureCanvasQT, self).__init__(figure=figure)
240
self.figure = figure
241
self.setMouseTracking(True)
0 commit comments