John Hunter wrote:
> On Fri, Aug 7, 2009 at 11:54 AM, Andrew Straw<straw...@astraw.com> wrote:
>
>   
>>> But would this also make the spine have the larger limits?  Basically,
>>> I want know if the spines can be used to create Tufte-style
>>> range-frames.  Am I correct in thinking that these spines provide that?
>>>       
>> Although I don't have a precise definition of "Tufte-style range
>> frame"to go by, I think my intention was to do exactly what you're after.
>>     
>
> One thing you want with range frames is to have the length of the
> spine equal the span of your dataset.  Can we currently or with not
> too much effort define the line segment of the spine to be in data
> coords?  
This is implemented in r8044.

> Then we could make the axes as wide as we want with the ylim
> to maintain the clipping region, but the spine would cover just the
> span of the data (or whatever the user specified) rather than always
> being ymin...ymax if it is defined as 0..1 in axes coords.
>   
Currently, if you want to limit the spine range, you'll have to call
spine.set_bounds(low,high) manually. I think one would almost always
want the spine endpoints at tick locations, so perhaps a better default
behavior than we now have is that in any case in which the spines are
not forming an old-style axes frame, they are automatically limited to
the outermost ticks. I haven't implemented that, but I don't think it
would be too hard to build on top of what I just committed.

-Andrew

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to