John Hunter wrote:
>>>>>> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
>     Eric> either, indistinguishably from the way it does now.  The
>     Eric> problem is that with a linear axis we want the axis to start
>     Eric> at zero by default, but with a log axis we want it to start
> 
> With ymin at 1e-100, the default (linear) locator should choose 0 as
> ymin.  If it doesn't it looks like a bug.  Is either the log or linear
> autoscaler broken for bottom=something-really-small ?
> 
> JDH

The problem is not the linear case but the log, and it is not a problem 
with the locators or with the autoscaling methods.  Rather, for the log 
scale we want the autoscaling to ignore the bottom of the patches at 
1e-100 and instead pick a lower value for plotting based on the tops of 
the patches (or the bottom of the errorbars, if present).  This is what 
I have it doing now via the somewhat clumsy method of adjusting the 
dataLim after the patches have been added.  To make the transition to a 
log scale work correctly after bar has been called with a linear scale, 
some such adjustment would have to be made.  This is the sort of thing 
that could be done by registering a callback, but we don't have the 
machinery in place.  Maybe this is a place where traits would help? 
I've never used them, but I seem to recall seeing that they include 
callback functionality.

Eric

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to