which backend should we use? It does not work with pyqt4 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.1/dist-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/usr/local/lib/python3.1/dist-packages/matplotlib/pylab.py", line 259, in <module> from matplotlib.pyplot import * File "/usr/local/lib/python3.1/dist-packages/matplotlib/pyplot.py", line 95, in <module> new_figure_manager, draw_if_interactive, show = pylab_setup() File "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup globals(),locals(),[backend_name]) File "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/backend_qt4agg.py", line 12, in <module> from .backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,\ File "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/backend_qt4.py", line 16, in <module> import matplotlib.backends.qt4_editor.figureoptions as figureoptions File "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/qt4_editor/figureoptions.py", line 11, in <module> import matplotlib.backends.qt4_editor.formlayout as formlayout File "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/qt4_editor/formlayout.py", line 59, in <module> from PyQt4.QtCore import (Qt, SIGNAL, SLOT, QSize, QString, ImportError: cannot import name QString
Looks like this backend hasn't been ported yet. Xavier > Thank you for your fast reply and suggestion. I downloaded the GNU tar > ball and looked at it. Unfortunately due to my own limitations, I need > a win32 installer. > I'll have to bide my time I guess. > > RDY > > -----Original Message----- > From: Christoph Gohlke [mailto:cgoh...@uci.edu] > Sent: Thursday, December 23, 2010 2:47 PM > To: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] Python 3 > > > > On 12/23/2010 1:01 PM, Robert Young wrote: >> Hi, I have used Matplotlib extensively now for 2 years with python > 2.x. >> I recently needed to move to python 3.1 which was greatly facilitated > by >> numpy and scipy being ported to python 3. I was lucky in that all I > have >> to change is many print statements. All on a Windows OS. >> >> But my progress is severely limited by having no port of Matplotlib to >> python 3. I am definitely a user so have contributed twice to > Matplotlib >> development. >> >> Plea: If the stars align properly, I would be so grateful for a port > of >> matplotlib to python 3. >> >> Thanks for hearing me. >> > Did you try the py3k branch at > <http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/> > ? It > does work for simple plots. > > -- > Christoph > > ------------------------------------------------------------------------ > ------ > Learn how Oracle Real Application Clusters (RAC) One Node allows > customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users