|
From: <md...@us...> - 2007-09-21 16:54:35
|
Revision: 3873
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3873&view=rev
Author: mdboom
Date: 2007-09-21 09:54:32 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
Merged revisions 3870-3872 via svnmerge from
http://matplotlib.svn.sf.net/svnroot/matplotlib/trunk/matplotlib
........
r3871 | dsdale | 2007-09-21 11:33:18 -0400 (Fri, 21 Sep 2007) | 2 lines
changed cbooks reversed to agree with the python builtin
........
Modified Paths:
--------------
branches/transforms/API_CHANGES
branches/transforms/CHANGELOG
branches/transforms/lib/matplotlib/cbook.py
Property Changed:
----------------
branches/transforms/
Property changes on: branches/transforms
___________________________________________________________________
Name: svnmerge-integrated
- /trunk/matplotlib:1-3869
+ /trunk/matplotlib:1-3872
Modified: branches/transforms/API_CHANGES
===================================================================
--- branches/transforms/API_CHANGES 2007-09-21 16:52:50 UTC (rev 3872)
+++ branches/transforms/API_CHANGES 2007-09-21 16:54:32 UTC (rev 3873)
@@ -1,3 +1,8 @@
+ Changed cbook.reversed so it yields a tuple rather than a
+ (index, tuple). This agrees with the python reversed builtin,
+ and cbook only defines reversed if python doesnt provide the
+ builtin.
+
Made skiprows=1 the default on csv2rec
The gd and paint backends have been deleted.
Modified: branches/transforms/CHANGELOG
===================================================================
--- branches/transforms/CHANGELOG 2007-09-21 16:52:50 UTC (rev 3872)
+++ branches/transforms/CHANGELOG 2007-09-21 16:54:32 UTC (rev 3873)
@@ -1,3 +1,6 @@
+2007-09-21 Changed cbook.reversed to yield the same result as the
+ python reversed builtin - DSD
+
2007-09-13 The usetex support in the pdf backend is more usable now,
so I am enabling it. - JKS
Modified: branches/transforms/lib/matplotlib/cbook.py
===================================================================
--- branches/transforms/lib/matplotlib/cbook.py 2007-09-21 16:52:50 UTC (rev 3872)
+++ branches/transforms/lib/matplotlib/cbook.py 2007-09-21 16:54:32 UTC (rev 3873)
@@ -482,7 +482,7 @@
enumerate() is new in Python 2.3
"""
for i in range(len(seq)-1,-1,-1):
- yield i, seq[i]
+ yield seq[i]
# use itertools.izip if available, else use python version
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|