Darren Dale wrote:
> On Wednesday 16 January 2008 08:22:45 am Michael Droettboom wrote:
>> But reading Darren's new bug report makes me wonder if my fix was
>> correct.  To be honest, I'm a little confused by the bug report, not out
>> of any lack of clarity on Darren's part, but I think due to insufficient
>> understanding of the problem.  As assumption about the purpose of cla is
>>   that is should return the plot to a pristine state -- and in this case
>> that means linear axes.  But are you suggesting that sometimes that is
>> not the case?
> 
> If you have hold=True, and the x or y scale is log, repeated calls to plot() 
> will add new lines to the plot without changing the scaling. If hold is 
> instead False, one might reasonably expect that future calls to plot would 
> replace the old line with the new one, again without changing the scaling. 
> That would be consistent. Instead, the scaling changes.

That indeed is a problem.  I suspect it has something to do with the 
extra step that log scales do to "round" to the nearest decade.  I can 
have a look when I get a chance, or let me know if you'd like to tackle 
it, Darren.

Cheers,
Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to