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

Log Message:
-----------
Merged revisions 5206-5207 via svnmerge from 
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_91_maint

........
  r5207 | mmetz_bn | 2008-05-21 11:47:59 +0200 (Wed, 21 May 2008) | 1 line
  
  Fixed bug in plotfile
........

Modified Paths:
--------------
    trunk/matplotlib/CHANGELOG
    trunk/matplotlib/lib/matplotlib/pyplot.py

Property Changed:
----------------
    trunk/matplotlib/


Property changes on: trunk/matplotlib
___________________________________________________________________
Name: svnmerge-integrated
   - /branches/v0_91_maint:1-5205
   + /branches/v0_91_maint:1-5207

Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG  2008-05-21 09:47:59 UTC (rev 5207)
+++ trunk/matplotlib/CHANGELOG  2008-05-21 09:50:36 UTC (rev 5208)
@@ -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: trunk/matplotlib/lib/matplotlib/pyplot.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pyplot.py   2008-05-21 09:47:59 UTC (rev 
5207)
+++ trunk/matplotlib/lib/matplotlib/pyplot.py   2008-05-21 09:50:36 UTC (rev 
5208)
@@ -40,7 +40,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
@@ -1282,7 +1282,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