Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-28 Thread Benjamin Root
I agree, while most of the time I call set_xlim() after all plotting is finished, there are some cases where I call it before subsequent plot calls, and this is a little nutty. I wonder how this change in behavior would impact basemap which always seemed to have to code around this issue? Ben Ro

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-28 Thread butterw
Rather than changing the existing xlim, it would be better to create a new command xlim2 with the desired behaviour (if needed). efiring wrote: > > The present behavior of set_xlim and set_ylim can be surprising because > making the values stick for subsequent plotting in the same axes > req

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-28 Thread Eric Firing
On 06/28/2010 04:42 PM, butterw wrote: > > Rather than changing the existing xlim, it would be better to create a new > command xlim2 with the desired behaviour (if needed). Why, specifically in this case? I'm somewhat reluctant to see that proliferation of methods and functions. Is there actual

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-28 Thread Anne Archibald
On 28 June 2010 23:11, Eric Firing wrote: > On 06/28/2010 04:42 PM, butterw wrote: >> >> Rather than changing the existing xlim, it would be better to create a new >> command xlim2 with the desired behaviour (if needed). > > Why, specifically in this case? > > I'm somewhat reluctant to see that pr