From: <jd...@us...> - 2011-01-05 22:20:15
|
Revision: 8894 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8894&view=rev Author: jdh2358 Date: 2011-01-05 22:20:09 +0000 (Wed, 05 Jan 2011) Log Message: ----------- fix plot directive to use rc file defaults Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/sphinxext/plot_directive.py Modified: trunk/matplotlib/lib/matplotlib/sphinxext/plot_directive.py =================================================================== --- trunk/matplotlib/lib/matplotlib/sphinxext/plot_directive.py 2011-01-05 22:04:47 UTC (rev 8893) +++ trunk/matplotlib/lib/matplotlib/sphinxext/plot_directive.py 2011-01-05 22:20:09 UTC (rev 8894) @@ -265,10 +265,7 @@ def clear_state(): plt.close('all') - matplotlib.rcdefaults() - # Set a default figure size that doesn't overflow typical browser - # windows. The script is free to override it if necessary. - matplotlib.rcParams['figure.figsize'] = (5.5, 4.5) + matplotlib.rc_file_defaults() def render_figures(plot_path, function_name, plot_code, tmpdir, destdir, formats, context=False): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |