Re: [Matplotlib-users] Best way to set scales bounds to appropriate values

2011-02-11 Thread neurino
Thank you very much, that can help for sure! Unluckily matplotlib documentation is rather a jungle, just the lack of a methods/properties index for each class makes very hard to find what one's looking for. Thanks again. Greetings neurino 2011/2/9 Benjamin Root > On Wed, Feb 9, 2011

Re: [Matplotlib-users] Best way to set scales bounds to appropriate values

2011-02-09 Thread neurino
Well, not that automatic... I wonder why matplotlib takes care of settings limits on data but fails in a common situation so I'm forced to override it every time because I don't know in advance what data I get... Thanks anyway. Cheers neurino 2011/2/9 Thomas Lecocq >

[Matplotlib-users] Best way to set scales bounds to appropriate values

2011-02-09 Thread neurino
Hi, I'm a matplotlib newbie. An example is worth a thousand words: In [1]: matplotlib.__version__ Out[1]: '0.99.3' In [2]: a, b, x = np.zeros(10), np.ones(10), np.arange(10) In [3]: plot(x, a); plot(x, b) Well all I see is an empty plot with the two horizontal lines at y=0 and y=1 covered by t