[AstroPy] getting the location of a subplot

Rose Finn rose.a.finn at gmail.com
Tue Jun 26 20:05:33 EDT 2012


Hi,

I am trying to use aplpy.FITSFigure() within pylab.subplots.
FITSFigure wants the [xmin,ymin,dx,dy], and I am wondering if there is
an easy to find out the top, bottom, left, and right of the subplot.

For example:

fig=figure()
fig.subplotpars.top

gives the top of the plot.

If instead I do

fig=figure()
 sub=subplot(3,3,1)


-- 
Rose A. Finn, PhD
Department of Physics & Astronomy
Siena College
Loudonville, NY
(518) 782-6764



More information about the AstroPy mailing list