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 to implement them easily ?
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 it's implemented as a property. I'd probably still use
it.
In a similar vein :
axis('scaled')
is there a way to retrieve the "scaled" property ?
Not really, since scaled isn't stored, but is merely a helper for
self.set_aspect('equal', adjustable='box', anchor='C')
self.set_autoscale_on(False)
You can get all of these properties individually:
ax = plt.gca()
ax.get_aspect()
ax.get_adjustable()
ax.get_anchor()
ax.get_autoscale_on()
Ryan
ยทยทยท
On Fri, Apr 9, 2010 at 12:16 AM, Peter Butterworth <butterw@...149...> wrote:
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma