Re: [Matplotlib-users] Autoscaling after removing lines.

2011-08-05 Thread Goyo
Seems like Axes.relim is what I was looking for. It does not take collections into account but I don't need that for now. 2011/8/1, Goyo : > Hy all, > > I recently had a pretty hard time trying to figure out how to properly > autoscale a plot after removing a line (see attached script). Finally >

Re: [Matplotlib-users] Bug in errorbar

2011-08-05 Thread Tony Yu
On Fri, Aug 5, 2011 at 2:41 PM, Amir Jahanshahi wrote: > Hi , > > The code for image-windows and image-linx comes from here: > > http://matplotlib.sourceforge.net/examples/pylab_examples/errorbar_limits.html > > That is why I think the problem is in linux. And the pdf which is attached > along wi

Re: [Matplotlib-users] Bug in errorbar

2011-08-05 Thread Amir Jahanshahi
Hi , The code for image-windows and image-linx comes from here: http://matplotlib.sourceforge.net/examples/pylab_examples/errorbar_limits.html That is why I think the problem is in linux. And the pdf which is attached along with the png image named flow-rate are executed in linux which are differ

[Matplotlib-users] center figure.suptitle with axes.set_title

2011-08-05 Thread C M
For a figure with just one subplot, I want to have a larger main title (using figure.suptitle) and a smaller subtitle (using axes.set_title). However, using horizontalalignment = 'center' on both the suptitle and title doesn't center the two relative to each other, because my subplot varies in wid

Re: [Matplotlib-users] Using comma as decimal separator

2011-08-05 Thread José Alexandre Nalon
Hello, Michael, since it is happening in my setup, if you are willing to direct me, I could try to debug and see what could possibly be happening. I don't discard, however, that this is something that happens only to me, so, unless someone can reproduce the problem, this could be marked as a low p

Re: [Matplotlib-users] Bug in errorbar

2011-08-05 Thread Tony Yu
On Fri, Aug 5, 2011 at 9:29 AM, Amir Jahanshahi wrote: > Dear folks, > > I have this problem consistently in 0.99 installed via package > respiratory and also 1.0.1 from source. This only occurs in linux. > Windows is OK. see attachments please. If I run flow-rate.py the output > of plt.show() is

Re: [Matplotlib-users] Using comma as decimal separator

2011-08-05 Thread Michael Droettboom
I'm still puzzled here. The TeX file is definitely being generated with an unreasonably large size, which is what causes it to blow up. It gets the size from the size of the matplotlib figure, which I assume is being incorrectly calculated by the tight bounding box code. Of course, I can't r