Kevin Horton wrote:
I've got matplotlib working on two computers. One of them just has
the default matplotlibrc where fink installed it. On the other one,
I've got a matplotlibrc in ~/.matplotlib/ so I could customize its
behaviour. Both work fine for me.
There is a debug setting at the end of matplotlibrc. It is set to
silent by default, but maybe it'll spit out something diagnostic if
you set it to debug, or debug-annoying. Sometimes I can find useful
clues in the Console.app console.log, or system.log.
Maybe a rebuild of python24, and/or matplotlib is in order, being sure
to have moved /usr/local out of the way first, so as not to pollute
the builds.
Good luck,
Kevin
On 24 Apr 2006, at 08:37, Roy Mendelssohn wrote:
I have tried, with the same results, using python as a command from
an X11 terminal, and entering the commands into the IDLE started from
an X11 terminal. I have tried to put a matplotrc file in various
spots, and I have tried making the change to TkAgg. When I do the
latter, a window quickly pops and and closes with nothing in it, and
then I get a restart in the IDLE.
I have installed and run biggles successfully, so whatever they do
for graphics windos is working.
-Roy
At 7:09 AM -0400 4/24/06, Kevin Horton wrote:
On 23 Apr 2006, at 22:48, Roy Mendelssohn wrote:
I have installed matplotlib from fink. I have tried to run all the
simple examples on the web, and either fail at the command
plot ([1,2,3,4])
[<matplotlib.lines.Line2D instance at 0x2a84e68>]
Confirm you are running those commands from an X11 xterm and not
Terminal.app.
Kevin Horton
Ottawa, Canada
Roy: You can put your simple test in a script and run it on the command
line with --verbose-helpful to see what is going on. For example,
here's what I get:
[mac28:toolkits/basemap/examples] jsw% more simpleplot.py
from pylab import *
plot([1,2,3,4])
show()
[mac28:toolkits/basemap/examples] jsw% python simpleplot.py
--verbose-helpful
matplotlib data path /sw/lib/python2.4/site-packages/matplotlib/mpl-data
$HOME=/Users/jsw
CONFIGDIR=/Users/jsw/.matplotlib
loaded rc file /Users/jsw/.matplotlib/matplotlibrc
matplotlib version 0.87.2
verbose.level helpful
interactive is False
platform is darwin
numerix numpy 0.9.6
font search path ['/sw/lib/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /Users/jsw/.matplotlib/ttffont.cache
Could not load matplotlib icon: Couldn't recognize the image file format
for file
'/sw/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlib.svg'
backend GTKAgg version 2.6.2
/sw/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py:984:
GtkWarning: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://freedesktop.org/Software/icon-theme/releases
buttons)
A gtk window should pop open with the plot in it.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED]
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users