Re: [Matplotlib-users] Problem with set_xlim

2007-01-05 Thread Berthold Höllmann
Tommy Grav <[EMAIL PROTECTED]> writes: > You have to use set_ylim((0,2)) to set the y limits. Is there a function/method to calculate apropriate ?lim values from a given Dataset? Regards Berthold -- __ Address: G / \ L Germanischer Lloyd p

Re: [Matplotlib-users] Problem with set_xlim

2007-01-04 Thread Tommy Grav
You have to use set_ylim((0,2)) to set the y limits. Cheers Tommy On Jan 4, 2007, at 11:09 AM, Berthold Höllmann wrote: > Considering the following script I would Expect a resulting y range of > (1, 2) but I get (1, 3). Is this a bug or a feature. I'm using python > 2.5, matplotlib 0.87.7. >

[Matplotlib-users] Problem with set_xlim

2007-01-04 Thread Berthold Höllmann
Considering the following script I would Expect a resulting y range of (1, 2) but I get (1, 3). Is this a bug or a feature. I'm using python 2.5, matplotlib 0.87.7. from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure fig = Figure() canva