Re: [Matplotlib-users] pylab: xlim with xscale

2009-03-03 Thread Keoki Seu
On Mar 3, 2009, at 12:19 PM, Eric Firing wrote: > An argument could be made either way, but I think the present > behavior, in which autoscale_view is called after changing the > scale, will cause the least surprise in the majority of cases. The > default locator depends on the scale, and is

[Matplotlib-users] pylab: xlim with xscale

2009-03-03 Thread Keoki Seu
Greeting everyone, In pylab (matplotlib 0.98.3.001 on Mac OS X) I've discovered that changing the xscale from linear to log removes the previously set xlim. For example In [1]: import pylab In [2]: x = pylab.arange(100) In [3]: y = pylab.sin(x) In [4]: pylab.plot(x, y) Out[4]: [] In [5]: pylab.x