Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-10 Thread Ryan Krauss
In case this is helpful: E:\>C:\Python26\python.exe ipython_show_test.py --verbose-debug $HOME=D:\ CONFIGDIR=D:\.matplotlib matplotlib data path C:\Python26\lib\site-packages\matplotlib\mpl-data loaded rc file D:\.matplotlib\matplotlibrc matplotlib version 1.0.0 verbose.level debug interactive is

[Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-10 Thread Ryan Krauss
I just upgraded my windows machine to matplotlib 1.0.0 and a simple script such as from pylab import * from scipy import * t = arange(0,1,0.01) y = sin(2*pi*t) figure(1) clf() plot(t,y) show() Now halts execution when run from the ipython -pylab prompt. The same commands typed at the commandl

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

2010-08-10 Thread Markus Baden
On Aug 11, 2010, at 6:09 AM, Friedrich Romstedt wrote: > Are you on OSX 10.5 or 10.6? I'm asking because it's important for > others when you're on 10.5 because you're using gcc-4.0 then, while > 10.6 users have at least for non-Python (distutils) compilations > gcc-4.2 as default. I'm running

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

2010-08-10 Thread Friedrich Romstedt
Are you on OSX 10.5 or 10.6? I'm asking because it's important for others when you're on 10.5 because you're using gcc-4.0 then, while 10.6 users have at least for non-Python (distutils) compilations gcc-4.2 as default. Friedrich --

Re: [Matplotlib-users] matplotlib v1.0.0 for mac: installation problem

2010-08-10 Thread Friedrich Romstedt
2010/8/9 Antonino Cucchiara : > Hello, > I am running a MacOS Snow leopard and I recently istalled the python 2.6 > via Enthought. > I wanted to upgrade the matplotlib 1.0 but when I run the .mpkg the > installation don't start because > it seems not recognizing the python 2.6 is installed (I do ha

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

2010-08-10 Thread Friedrich Romstedt
2010/8/10 Markus Baden : > Thanks for the warning. Not really sure. So far I have seen no > problems, i.e. can happily plot. How can I make sure that I don't ran > into those problems? I usually don't mix packages and just hope that > the EPD guys update to Matplotlib 1.0 soon. When you can import

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread Christoph Gohlke
On 8/10/2010 12:26 PM, Eric Firing wrote: > On 08/10/2010 09:10 AM, Christoph Gohlke wrote: >> >> >> On 8/10/2010 11:53 AM, stetrick wrote: >>> >>> Should probably indicate that it is the MKV versions >>> >>> >>> stetrick wrote: Christoph Gohlke wrote: > > > >

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread Eric Firing
On 08/10/2010 09:10 AM, Christoph Gohlke wrote: > > > On 8/10/2010 11:53 AM, stetrick wrote: >> >> Should probably indicate that it is the MKV versions >> >> >> stetrick wrote: >>> >>> >>> >>> Christoph Gohlke wrote: On 8/9/2010 3:09 PM, stetrick wrote: > > I am now gett

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread Christoph Gohlke
On 8/10/2010 11:53 AM, stetrick wrote: > > Should probably indicate that it is the MKV versions > > > stetrick wrote: >> >> >> >> Christoph Gohlke wrote: >>> >>> >>> >>> On 8/9/2010 3:09 PM, stetrick wrote: I am now getting a message that says: Fatal Python error: PyEval_Resto

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread stetrick
Should probably indicate that it is the MKV versions stetrick wrote: > > > > Christoph Gohlke wrote: >> >> >> >> On 8/9/2010 3:09 PM, stetrick wrote: >>> >>> I am now getting a message that says: >>> >>> Fatal Python error: PyEval_RestoreThread: NULL tstate >>> >>> This application has req

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread stetrick
Christoph Gohlke wrote: > > > > On 8/9/2010 3:09 PM, stetrick wrote: >> >> I am now getting a message that says: >> >> Fatal Python error: PyEval_RestoreThread: NULL tstate >> >> This application has requested the Runtime to terminate it in an unusual >> way. >> >> This is with matplotlib 1.0

[Matplotlib-users] Pie Charts, How to control pie chart size in figure?

2010-08-10 Thread Michael Waters
Hi, I am making a simple pie chart that needs to be small ~3x3 inches. The problem I am having is that the text labels get pushed out side the figure. Is there anyway to make the plot smaller relative to the figure size? Here is my code and the resulting plot: from pylab import * # make a squar

Re: [Matplotlib-users] mpl_toolkits

2010-08-10 Thread John Hunter
On Tue, Aug 10, 2010 at 12:15 PM, c.jeang wrote: > Hello, > >  where can I find mpl_toolkits. >  Because I install matplotlib with ipython and the command >  yum install python-matplotlib >  but as a result I have no axes3d.py file and when I tried the examples of >  the matplotlib site I get the

Re: [Matplotlib-users] mpl_toolkits

2010-08-10 Thread Benjamin Root
On Tue, Aug 10, 2010 at 12:15 PM, c.jeang < christian.jeanguilla...@univ-angers.fr> wrote: > Hello, > > where can I find mpl_toolkits. > Because I install matplotlib with ipython and the command > yum install python-matplotlib > but as a result I have no axes3d.py file and when I tried the exa

[Matplotlib-users] mpl_toolkits

2010-08-10 Thread c.jeang
Hello, where can I find mpl_toolkits. Because I install matplotlib with ipython and the command yum install python-matplotlib but as a result I have no axes3d.py file and when I tried the examples of the matplotlib site I get the following message: unknown projection 3d Apparently the

Re: [Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread Christoph Gohlke
On 8/9/2010 3:09 PM, stetrick wrote: > > I am now getting a message that says: > > Fatal Python error: PyEval_RestoreThread: NULL tstate > > This application has requested the Runtime to terminate it in an unusual > way. > > This is with matplotlib 1.0.0, but all versions are 64-bit (python, nump

Re: [Matplotlib-users] missing label in colorbar

2010-08-10 Thread Oz Nahum
Hi Everyone, I solved the issue using the following code: CS=ax1.pcolormesh(x,y,dolomites,vmin=0, vmax=max(dolomite),cmap=cm.jet_r) fig.colorbar(CS,ticks=[0,max(dolomite)],orientation='horizontal',aspect=40,format='%.1E') ax1.set_title("dolomite [phi]") It's not straight forward to understand,

[Matplotlib-users] missing label in colorbar

2010-08-10 Thread Oz Nahum
Hi Everyone, I'm struggling to understand how to put the highest value on the ticks of a colorbar. My problem is that the highest value is simply not there, and it looks weird ... I would be happy to solve this issue. See what my code produces, http://yfrog.com/j9wrongip And here is how I want

[Matplotlib-users] matplotlib v1.0.0 for mac: installation problem

2010-08-10 Thread Antonino Cucchiara
Hello, I am running a MacOS Snow leopard and I recently istalled the python 2.6 via Enthought. I wanted to upgrade the matplotlib 1.0 but when I run the .mpkg the installation don't start because it seems not recognizing the python 2.6 is installed (I do have now 2.6.6). Any suggestions? Thanks

[Matplotlib-users] Fatal Python Error with 64 bit versions

2010-08-10 Thread stetrick
I am now getting a message that says: Fatal Python error: PyEval_RestoreThread: NULL tstate This application has requested the Runtime to terminate it in an unusual way. This is with matplotlib 1.0.0, but all versions are 64-bit (python, numpy, matplotlib). Is this something I can fix or ignor

[Matplotlib-users] GTk backend problem

2010-08-10 Thread Antonino Cucchiara
Hello, I recently upgraded to Enthought python 2.6 an so I have now matplotlib 0.99.3 My scripts now no longer seem to find the pyGTK since when I run them I got this message: Traceback (most recent call last): File "./sed_plotb_v2.py", line 14, in from pylab import * File "/Library

[Matplotlib-users] cygwin compile?

2010-08-10 Thread Adam Gustafson
Has anyone been able to successfully compile matplotlib in Cygwin? I would imagine so, so if you've been able to do it, please help! Not quite sure why I'm having so much trouble, but the errors from the build step are below. I think perhaps the python lists are empty (can't figure out what vers