Revision: 7958
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7958&view=rev
Author:   astraw
Date:     2009-11-12 22:47:43 +0000 (Thu, 12 Nov 2009)

Log Message:
-----------
axes.py: remove redundant variable

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/axes.py

Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py     2009-11-12 22:17:24 UTC (rev 
7957)
+++ trunk/matplotlib/lib/matplotlib/axes.py     2009-11-12 22:47:43 UTC (rev 
7958)
@@ -1698,7 +1698,7 @@
             artists.extend(self.spines.itervalues())
 
 
-        dsu = [ (a.zorder, i, a) for i, a in enumerate(artists)
+        dsu = [ (a.zorder, a) for a in artists
                 if not a.get_animated() ]
         dsu.sort()
 
@@ -1721,7 +1721,7 @@
 
         if len(self.images)<=1 or renderer.option_image_nocomposite():
             for im in self.images:
-                dsu.append( (im.zorder, len(dsu), im) )
+                dsu.append( (im.zorder, im) )
             dsu.sort() # re-sort with images now
         else:
             # make a composite image blending alpha
@@ -1757,11 +1757,11 @@
             gc.restore()
 
         if dsu_rasterized:
-            for zorder, i, a in dsu_rasterized:
+            for zorder, a in dsu_rasterized:
                 a.draw(renderer)
             renderer.stop_rasterizing()
 
-        for zorder, i, a in dsu:
+        for zorder, a in dsu:
             a.draw(renderer)
 
         renderer.close_group('axes')


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to