|
From: <lee...@us...> - 2010-07-27 15:52:53
|
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.
|