Hello - I've been searching around for a good plotting package for
python; matplotlib seems great - the problem is, I can't get anything
to show().

I'm on os x 10.4.8, python 2.4.
I've installed (and uninstalled and installed) matplotlib via darwin ports:

novelbox:~/dev/py/work knot$ sudo port installed | grep matplot
 py-matplotlib @0.87.6_0 (active)

I can execute this from the interactive python prompt:

Python 2.4.3 (#1, Mar 30 2006, 11:02:16)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
>>> from pylab import *
>>> plot([1,2,3])
[<matplotlib.lines.Line2D instance at 0x2bdf800>]
>>> show()

but I don't get any output window...
Same for executing this snippet from the shell:

novelbox:~/dev/py/work knot$ cat matplot.py

from pylab import *
plot([1,2,3])
show()
raw_input()


novelbox:~/dev/py/work knot$ python matplot.py --verbose-helpful

matplotlib data path /opt/local/lib/python2.4/site-packages/matplotlib/mpl-data
$HOME=/Users/knot
CONFIGDIR=/Users/knot/.matplotlib
loaded rc file 
/opt/local/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlibrc
matplotlib version 0.87.6
verbose.level helpful
interactive is False
platform is darwin
numerix numarray 1.5.1
font search path ['/opt/local/lib/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /Users/knot/.matplotlib/ttffont.cache
backend Agg version v2.2



I found nothing in the FAQ or mailing list archive similar to this problem.
I must be doing something dumb, but without an error I'm a bit perplexed.

Can anyone please point me in a direction that might help me solve this?

TIA

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to