Revision: 5207
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5207&view=rev
Author:   mmetz_bn
Date:     2008-05-21 02:47:59 -0700 (Wed, 21 May 2008)

Log Message:
-----------
Fixed bug in plotfile

Modified Paths:
--------------
    branches/v0_91_maint/CHANGELOG
    branches/v0_91_maint/lib/matplotlib/pyplot.py

Modified: branches/v0_91_maint/CHANGELOG
===================================================================
--- branches/v0_91_maint/CHANGELOG      2008-05-20 21:05:49 UTC (rev 5206)
+++ branches/v0_91_maint/CHANGELOG      2008-05-21 09:47:59 UTC (rev 5207)
@@ -1,3 +1,5 @@
+2008-05-21 Fix a "local variable unreferenced" bug in plotfile - MM
+
 2008-05-19 Fix crash when Windows can not access the registry to
            determine font path [Bug 1966974, thanks Patrik Simons] - MGD
 

Modified: branches/v0_91_maint/lib/matplotlib/pyplot.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/pyplot.py       2008-05-20 21:05:49 UTC 
(rev 5206)
+++ branches/v0_91_maint/lib/matplotlib/pyplot.py       2008-05-21 09:47:59 UTC 
(rev 5207)
@@ -38,7 +38,7 @@
 
 def switch_backend(newbackend):
     """
-    Swtich the default backend to newbackend.  This feature is
+    Switch the default backend to newbackend.  This feature is
     EXPERIMENTAL, and is only expected to work switching to an image
     backend.  Eg, if you have a bunch of PS scripts that you want to
     run from an interactive ipython session, you may want to switch to
@@ -1225,7 +1225,7 @@
     xname, x = getname_val(cols[0])
 
     if len(cols)==1:
-        ax1 = fig.add_subplot(N,1,i)
+        ax1 = fig.add_subplot(1,1,1)
         funcname = plotfuncs.get(cols[0], 'plot')
         func = getattr(ax1, funcname)
         func(x, **kwargs)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to