>>>>> "Mark" == Mark Bakker <ma...@gm...> writes:
Mark> Hello - Anybody know how I get the current subplot
Mark> parameters from a figure, i.e. the values defined in the rc
Mark> file such as figure.subplot.left ?
Well, those are two different questions.
Mark> how I get the current subplot parameters from a figure
In [3]: fig = figure()
In [4]: fig.subplotpars.left
Out[4]: 0.125
In [5]: fig.subplots_adjust(left=0.2)
In [6]: fig.subplotpars.left
Out[6]: 0.20000000000000001
Mark> the values defined in the rc file such as
Mark> figure.subplot.left ?
In [1]: from matplotlib import rcParams as pars
In [2]: pars['figure.subplot.left']
Out[2]: 0.125
JDH
|