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.
2 parents be5f8cc + 0e487fd commit d9240e2Copy full SHA for d9240e2
1 file changed
lib/matplotlib/backends/backend_qt5agg.py
@@ -15,6 +15,10 @@
15
16
class FigureCanvasQTAgg(FigureCanvasAgg, FigureCanvasQT):
17
18
+ def __init__(self, figure):
19
+ # Must pass 'figure' as kwarg to Qt base class.
20
+ super().__init__(figure=figure)
21
+
22
def paintEvent(self, event):
23
"""Copy the image from the Agg canvas to the qt.drawable.
24
0 commit comments