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

2010-08-11 Thread Matthias Michler
On Tuesday August 10 2010 20:31:02 Michael Waters wrote: 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

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

2010-08-11 Thread Eric Firing
On 08/10/2010 05:43 PM, Ryan Krauss wrote: 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

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

2010-08-11 Thread Friedrich Romstedt
2010/8/11 Markus Baden markus.ba...@gmail.com: I'm running Mac OS X 10.5.8. Ok, that explains why it works to flawlessly. When you would be on 10.6, you would probably run into the problem I mentioned, because the software is compiled /also/ for 10.5, and hence with gcc-4.0. Lucky one ;-) -

Re: [Matplotlib-users] Sequential Calls to create bar charts jumbles output on second. first always ok.

2010-08-11 Thread Tony S Yu
On Aug 11, 2010, at 6:56 AM, Rob Schneider wrote: I extract data out of a database (via Django and Python). I'm drawing two bar charts. One is a stacked bar, and one is a simple bar. The code for each graph is in their own function. I call the function to draw the graph sequencially

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

2010-08-11 Thread Ryan Krauss
Thanks. I need to role out a python install for my students. Classes start in a week and a half. What should I do? The installation for most of them needs to be fairly simple. Thanks, Ryan On Wed, Aug 11, 2010 at 2:25 AM, Eric Firing efir...@hawaii.edu wrote: On 08/10/2010 05:43 PM, Ryan

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

2010-08-11 Thread Ryan Krauss
0.99.3 is more or less fine, but there is an annoying exception window that pops up if you close IPython with a plot window open (using the TkAgg backend). But in my mind this is less bothersome than having to close all the plot windows every time I run a script (I tend to write scripts that

Re: [Matplotlib-users] mpl_toolkits

2010-08-11 Thread John Hunter
On Wed, Aug 11, 2010 at 7:10 AM, c.jeang christian.jeanguilla...@univ-angers.fr wrote: Hie john, and thank you for your prompt answer. my version is currently the 0.99.1.1 I am going to install the 1.0.0 Thank again Best regards If you are on 0.99.1, then this is not the source of your

Re: [Matplotlib-users] mpl_toolkits

2010-08-11 Thread Benjamin Root
On Wed, Aug 11, 2010 at 9:27 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Aug 11, 2010 at 7:10 AM, c.jeang christian.jeanguilla...@univ-angers.fr wrote: Hie john, and thank you for your prompt answer. my version is currently the 0.99.1.1 I am going to install the 1.0.0 Thank

Re: [Matplotlib-users] Sequential Calls to create bar charts jumbles output on second. first always ok.

2010-08-11 Thread Ryan May
On Wed, Aug 11, 2010 at 8:43 AM, Tony S Yu tsy...@gmail.com wrote: On Aug 11, 2010, at 6:56 AM, Rob Schneider wrote: I extract data out of a database (via Django and Python). I'm drawing two bar charts. One is a stacked bar, and one is a simple bar. The code for each graph is in their

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

2010-08-11 Thread Christoph Gohlke
Ryan: you could try matplotlib-1.0.0.svn.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib .It was built this morning from svn. Christoph On 8/11/2010 7:26 AM, Ryan Krauss wrote: 0.99.3 is more or less fine, but there is an annoying exception window that pops up if

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

2010-08-11 Thread Ryan Krauss
This worked perfectly. Thanks Christoph. Ryan On Wed, Aug 11, 2010 at 11:35 AM, Christoph Gohlke cgoh...@uci.edu wrote: Ryan: you could try matplotlib-1.0.0.svn.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib .It was built this morning from svn. Christoph On

Re: [Matplotlib-users] Disable Colorbar Scaling In Contour Plot

2010-08-11 Thread Friedrich Romstedt
2010/8/11 tgabriel travisgabri...@gmail.com: I would like to have the colorbar displaying the same color scaling regardless of the data input. This /should/ be feasible with .contourf(.., vmin=VMIN, vmax=VMAX), but from the doc this isn't clear at least. If it doesn't work, we have to work out

Re: [Matplotlib-users] Matching 3D axes size to 2D in mixed subplot

2010-08-11 Thread Benjamin Root
On Sun, Jul 18, 2010 at 1:17 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jul 15, 2010 at 9:13 PM, Jeff Berry jjbe...@email.arizona.eduwrote: Hi, I'm using the new mixed axes feature in matplotlib 1.0.0 to combine 3D and 2D plots in a single figure. The problem is that the 3D axes

Re: [Matplotlib-users] Disable Colorbar Scaling In Contour Plot

2010-08-11 Thread Eric Firing
On 08/11/2010 08:54 AM, Friedrich Romstedt wrote: 2010/8/11 tgabrieltravisgabri...@gmail.com: I would like to have the colorbar displaying the same color scaling regardless of the data input. This /should/ be feasible with .contourf(.., vmin=VMIN, vmax=VMAX), but from the doc this isn't

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

2010-08-11 Thread stetrick
I removed and reinstalled everything, and I'm still getting it. I am using the multiprocessing lib. Each process then produces a graph with matplotlib, which is only done with Savefig (never interactively displaced during the creation process). I have nothing special in the configuration -

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

2010-08-11 Thread stetrick
Adding a close() at the end didn't do anything - still get the same message. stetrick wrote: I removed and reinstalled everything, and I'm still getting it. I am using the multiprocessing lib. Each process then produces a graph with matplotlib, which is only done with Savefig (never

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

2010-08-11 Thread Christoph Gohlke
Again, please post a complete script that can reproduce the problem. Since you do not need a GUI did you try to use the Agg backend? Christoph On 8/11/2010 2:31 PM, stetrick wrote: I removed and reinstalled everything, and I'm still getting it. I am using the multiprocessing lib. Each

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

2010-08-11 Thread stetrick
Setting the matplotlib.use('Agg') seems to have made the problem go away. Thanks for your patience. Scott Christoph Gohlke wrote: Again, please post a complete script that can reproduce the problem. Since you do not need a GUI did you try to use the Agg backend? Christoph On

[Matplotlib-users] Hints on sizing plot elements?

2010-08-11 Thread Russell E. Owen
I'm making a strip chart widget (which I plan to make publicly available when finished). The basics are working fine, but the automatic sizing is not doing so well. Strip charts are typically short, and when suitably short the X axis annotations are partially truncated. So...can I convince the