Revision: 8895
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8895&view=rev
Author:   jdh2358
Date:     2011-01-06 01:26:23 +0000 (Thu, 06 Jan 2011)

Log Message:
-----------
fix the plot directive

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py

Modified: branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py      
2011-01-05 22:20:09 UTC (rev 8894)
+++ branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py      
2011-01-06 01:26:23 UTC (rev 8895)
@@ -263,12 +263,10 @@
 
     return len(fig_managers)
 
+
 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.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to