On Saturday 11 August 2007 8:15:41 am Xavier Gnata wrote: > Hi, > > Using pylab svn, the qt backend is broken. > > import pylab fails : > > /usr/lib/python2.4/site-packages/matplotlib/backends/backend_qtagg.py > 11 > 12 from backend_agg import FigureCanvasAgg > ---> 13 from backend_qt import qt, FigureManagerQT, FigureCanvasQT,\ > 14 show, draw_if_interactive, backend_version, \ > 15 NavigationToolbar2QT > > /usr/lib/python2.4/site-packages/matplotlib/backends/backend_qt.py > 15 from matplotlib.widgets import SubplotTool > 16 > ---> 17 import qt > 18 > 19 backend_version = "0.9.1" > > ImportError: No module named qt
That means you dont have PyQt-3 installed on your machine. > If I replace import qt by import PyQt4 dont! > , I get another error : If you want to use PyQt4, you should set your backend to qt4agg instead of qtagg. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users