PySide instead of PyQt4 as the prerequisite for matplotlib Qt4Agg backend
matplotlib, pyqt4, pyside, python
Solution
In your `rcparam` file add the line
backend.qt4 : PySide # PyQt4 | PySide
Problem
I have a quick question with regard to the prerequisite of using Qt4Agg backend with matplotlib. In the documentation, it said Qt4Agg requires PyQt4. However, since matplotlib can now work perfectly with PySide instead of PyQt4, can I install PySide only? Do I still need to install PyQt4 to let matplotlib work with Pyside? I am asking this question because in the example of using matplotlib with PySide, the backend has to be switched to Qt4Agg and requires PyQt4 according to the documentation. Thanks!