Revision: 8581
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8581&view=rev
Author:   leejjoon
Date:     2010-07-27 15:52:47 +0000 (Tue, 27 Jul 2010)

Log Message:
-----------
fix pyplot.subplot2grid to support the projection keyword

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/pyplot.py

Modified: branches/v1_0_maint/lib/matplotlib/pyplot.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/pyplot.py        2010-07-26 19:17:37 UTC 
(rev 8580)
+++ branches/v1_0_maint/lib/matplotlib/pyplot.py        2010-07-27 15:52:47 UTC 
(rev 8581)
@@ -797,8 +797,7 @@
     subplotspec = GridSpec(s1, s2).new_subplotspec(loc,
                                                    rowspan=rowspan,
                                                    colspan=colspan)
-    a = Subplot(fig, subplotspec, **kwargs)
-    fig.add_subplot(a)
+    a = fig.add_subplot(subplotspec, **kwargs)
     bbox = a.bbox
     byebye = []
     for other in fig.axes:


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

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to