Re: [matplotlib-devel] getting legend loc

2010-04-09 Thread Ryan May
On Fri, Apr 9, 2010 at 12:16 AM, Peter Butterworth wrote: > Hi, > > I'm having trouble getting some properties that are easily set : > > > leg=legend(loc=0) > is there a way to retrieve the legend location ? leg._loc I'm not sure why it's given a leading '_' to signal a private variable, since i

[matplotlib-devel] getting legend loc

2010-04-08 Thread Peter Butterworth
Hi, I'm having trouble getting some properties that are easily set : leg=legend(loc=0) is there a way to retrieve the legend location ? In a similar vein : axis('scaled') is there a way to retrieve the "scaled" property ? If no methods/properties are available in the default API is it possible