|
From: Jae-Joon L. <lee...@gm...> - 2010-03-12 04:00:54
|
On Thu, Mar 11, 2010 at 8:32 PM, Alan G Isaac <ai...@am...> 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 |