Closed
Description
In this example,
http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html (embedding_in_qt4.py)
When replacing
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg
through
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
I got this error
File "C:\Python34\lib\site-packages\matplotlib\backends\backend_qt5.py", line 238, in init
super(FigureCanvasQT, self).init(figure=figure)
When looking at class FigureCanvasQT in backend_qt5.py and backend_qt4.py it seems that super is calling init on first inherited class (QtWidgets.QWidget) instead of second one (FigureCanvasBase).
Let me know if I was not clear enough and if it is realy a bug or a missusage.