[Matplotlib-users] Sequential calls to functions to draw graphs results in flawed graphs on second call.

2010-08-08 Thread Rob Schneider
Running 0.98.5.3 (would upgrade to 1.0 but having trouble installing it on Mac OS X as it doesn't appear to like the version of Python Apple provides). I have a module where there are two functions which call matplotlib to each create a different graph which both saved to an output PNG file. Th

Re: [Matplotlib-users] Confusion Matrix

2010-08-08 Thread John Hunter
On Sun, Aug 8, 2010 at 8:03 PM, Friedrich Romstedt wrote: > Yes, I agree fully, but have been busy the past few days :-) > > Friedrich > > P.S.: You can also try > http://matplotlib.sourceforge.net/examples/pylab_examples/alignment_test.html > , I believe there was some other manual around also c

[Matplotlib-users] Building matplotlib from source with libpng (png.h) installed via fink on Mac OS X

2010-08-08 Thread Markus Baden
Hi, On my Macbook Pro I use Python 2.6 as provided by the Enthought Python Distribution. I ran into some problem with Axes3D so I decided to upgrade to the latest version from source. While trying that I got a similiar error message as discussed in http://www.mail-archive.com/matplotlib-use

Re: [Matplotlib-users] hbars with different labels left and right

2010-08-08 Thread Jae-Joon Lee
On Sun, Aug 8, 2010 at 10:38 PM, Simon Friedberger wrote: > a) I tried using the twinx() command like in that example but the axes > seem to be scaled differently i.e. the ticks on the right don't have the > same spacing as on the left. > twinx() creates an axes whose y-axis is independent from t

Re: [Matplotlib-users] Win7. Why Don't Matplotlib, ... Show up in Control Panel Add-Remove?

2010-08-08 Thread Wayne Watson
It and scipy work very well. I have 64-bit Win 7, HP Pavilon desktop. A re-examination shows the install files are all exe files, except I think for Python. I'm using 2.5 and need to stay there along with numpy 1.2.0. When you say uninstall, you must mean delete the file under C:\Python. Well,

Re: [Matplotlib-users] Confusion Matrix

2010-08-08 Thread Friedrich Romstedt
2010/8/8 Simon Friedberger : > I have found a solution. I'm not sure if it's good or intended but the > following works: > > for label in xax.get_ticklabels(): >        label.set_rotation(45) >        label.set_horizontalalignment('left') This is fully intended. Maybe you can compare with the ver

Re: [Matplotlib-users] Win7. Why Don't Matplotlib, ... Show up in Control Panel Add-Remove?

2010-08-08 Thread Stephen George
On 9/08/2010 9:19 AM, Wayne Watson wrote: > See Subject. I use matplotlib, scipy, numpy and possibly one other > module. If I go to the control panel, I only see numpy listed. Why? I > use a search and find only numpy and Python itself. How can matplotlib > and scipy be uninstalled? > In my Win7

[Matplotlib-users] Win7. Why Don't Matplotlib, ... Show up in Control Panel Add-Remove?

2010-08-08 Thread Wayne Watson
See Subject. I use matplotlib, scipy, numpy and possibly one other module. If I go to the control panel, I only see numpy listed. Why? I use a search and find only numpy and Python itself. How can matplotlib and scipy be uninstalled? -- Wayne Watson (Watson Adventures, Prop., Nevad

Re: [Matplotlib-users] Confused/frustrated w/ waitforbuttonpress

2010-08-08 Thread Jorge Scandaliaris
Eric Firing writes: > Try "ipython -pylab". We don't want the threaded version. > > Eric Well, it seems matplotlib svn is required. I got it working after I upgraded from 1.0 to svn (revision 8624 to be precise) and with Ipython 0.11.alpha1. Thanks for the tip again, I am a happier man now ;)

Re: [Matplotlib-users] Unable to make sequential calls to functions with create matplotlib graphs ... second gets jumbled

2010-08-08 Thread Eric Firing
On 08/08/2010 12:53 AM, Rob Schneider wrote: > Running 0.98.5.3 > (would upgrade to 1.0 but having trouble installing it on Mac OS X as it > doesn't appear to like the version of Python Apple provides). > Standard procedure on the Mac is to install the python from python.org. That way you don't

[Matplotlib-users] hbars with different labels left and right

2010-08-08 Thread Simon Friedberger
Hi list members! I'm not sure if this is bad style or anything but I'm trying to do something like in this example: http://matplotlib.sourceforge.net/examples/pylab_examples/barchart_demo2.html I would like to haver different labels on both sides. a) I tried using the twinx() command like in that

[Matplotlib-users] Unable to make sequential calls to functions with create matplotlib graphs ... second gets jumbled

2010-08-08 Thread Rob Schneider
Running 0.98.5.3 (would upgrade to 1.0 but having trouble installing it on Mac OS X as it doesn't appear to like the version of Python Apple provides). I have a module where there are two functions which call matplotlib to each create a different graph which both saved to an output PNG file. Th

Re: [Matplotlib-users] Confusion Matrix

2010-08-08 Thread Simon Friedberger
On 16:00 Fri 06.08.10, Simon Friedberger wrote: > It is about the positioning of the rotated labels. > The code is here: > http://paste.pocoo.org/show/246870/ > > Note that in line 36 I had already remarked about the hack I used. Now I > noticed that if the labels have different lengths rotating t