[matplotlib-devel] Legend style with axes.hist(histtype='step')

2011-02-06 Thread Nicholas Devenish
One of the things that bugs me about axes.hist is that with histtype='step' the automatic legend style is an empty box, instead of a line, as I would expect. This behaviour doesn't seem to make sense, because it seems a line would be much more appropriate for this case. Example is attached for the

Re: [matplotlib-devel] xlim() turns off autoscaling

2011-02-06 Thread Eric Firing
On 02/06/2011 08:11 AM, Benjamin Root wrote: [...] > > Something I just noticed while looking at the x|ylim() functions. The > code for xscale() and yscale() are acting like it returns something, but > they don't. Is this a bug? The documentation doesn't claim that it > returns anything. Ben,

Re: [matplotlib-devel] xlim() turns off autoscaling

2011-02-06 Thread Benjamin Root
On Sun, Feb 6, 2011 at 11:52 AM, Eric Firing wrote: > On 02/06/2011 06:59 AM, Mike Kaufman wrote: > > > > The help for xlim() says: > > > > Set/Get the xlimits of the current axes:: > > > > xmin, xmax = xlim() # return the current xlim > > xlim( (xmin, xmax) ) # set the x

Re: [matplotlib-devel] xlim() turns off autoscaling

2011-02-06 Thread Eric Firing
On 02/06/2011 06:59 AM, Mike Kaufman wrote: > > The help for xlim() says: > > Set/Get the xlimits of the current axes:: > > xmin, xmax = xlim() # return the current xlim > xlim( (xmin, xmax) ) # set the xlim to xmin, xmax > xlim( xmin, xmax )# set the xlim to xm

[matplotlib-devel] xlim() turns off autoscaling

2011-02-06 Thread Mike Kaufman
The help for xlim() says: Set/Get the xlimits of the current axes:: xmin, xmax = xlim() # return the current xlim xlim( (xmin, xmax) ) # set the xlim to xmin, xmax xlim( xmin, xmax )# set the xlim to xmin, xmax but it also has the unexpected behavior of turning