Revision: 8667
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8667&view=rev
Author: leejjoon
Date: 2010-08-28 15:54:32 +0000 (Sat, 28 Aug 2010)
Log Message:
-----------
fix gridspec bug that location is wrongly calculated for non-square grid
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/gridspec.py
Modified: branches/v1_0_maint/lib/matplotlib/gridspec.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/gridspec.py 2010-08-27 18:21:35 UTC
(rev 8666)
+++ branches/v1_0_maint/lib/matplotlib/gridspec.py 2010-08-28 15:54:32 UTC
(rev 8667)
@@ -157,8 +157,8 @@
col1, col2 = k2, k2+1
- num1 = row1*nrows + col1
- num2 = (row2-1)*nrows + (col2-1)
+ num1 = row1*ncols + col1
+ num2 = (row2-1)*ncols + (col2-1)
# single key
else:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins