On Thu, Mar 11, 2010 at 8:32 PM, Alan G Isaac <ais...@american.edu> wrote:
> 1. What are the units (and why not points)?

Fraction of (legend) font size (in points). It was decided that it is
these dimensions are better to be scale with font size.
For example, handlelength=5 means 50 points when legend font size is 10 points.

> 2. Can this be set on a legend object (after creation)?
> (There does not appear to be a setter on the legend;
> do I have to get the handles and set each?)
>

Right now, public setter method is not supported for these attributes.
While this is possible it is a bit tricky. I need to double-check but
you need to change the dimension of not only the associated artist
(e.g., lines) but also its container (offsetbox).
The current design recommends you to create a new legend (by calling
legend again) if you want to change its attribute.
If this approach is not applicable, please describe your use case.

Regards,

-JJ


As of now, some (maybe most) of legend attributes are not exposed is
possible but a bit tricky to do

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to