From: Jorge G. <jga...@fi...> - 2011-07-13 19:55:34
|
In case it helps, I also tried the simple plot test recommended in the matplotlib FAQ: Here's the traceback it gave me. $HOME=/home/cadsoft CONFIGDIR=/home/cadsoft/.matplotlib matplotlib data path /usr/local/lib/python3.1/dist-packages/matplotlib/mpl-data loaded rc file /usr/local/lib/python3.1/dist-packages/matplotlib/mpl-data/matplotlibrc matplotlib version 1.1.0 verbose.level helpful interactive is False platform is linux2 Using fontManager instance from /home/cadsoft/.matplotlib/fontList.py3k.cache backend agg version v2.2 Thanks for all of your help. On Fri, Jul 8, 2011 at 2:49 PM, Darren Dale <dsd...@gm...> wrote: > On Wed, Jun 29, 2011 at 10:46 AM, Jorge Garcia <jga...@fi...> wrote: > > Hello, > > > > I was trying to test out the Python 3 development version with the first > > plot shown in the pyplot tutorial. Everything seems to work ok until I go > > > > plt.show() > > > > at which point nothing happens, I don't see a plot. Python accepts the > > command and is waiting for a new command but I have no plot. > > Maybe you don't have a python-3 compatible gui library installed, in > which case your backend is defaulting to AGG, which cannot render a > window for you. > > > I've tried changing the backend in the matplotlibrc file to TkAgg, but I > > still get nothing, in fact now when I try to import matplotlib I get a > > traceback error that name -tkagg is not defined, seems like it might be > > something in the module. > > > > Can anyone lend a hand? > > Posting the exact traceback would help us help you. I'll hazard a > guess that you don't have the tk development packages installed, so > the tkagg backend could not be built when you installed matplotlib for > py3, and therefore tkagg cannot be selected as your backend. > > Darren > |