Revision: 5914
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5914&view=rev
Author:   jswhit
Date:     2008-07-28 17:29:57 +0000 (Mon, 28 Jul 2008)

Log Message:
-----------
don't touch axesPatch or frame default zorder.

Modified Paths:
--------------
    trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py

Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
===================================================================
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-07-28 
16:58:16 UTC (rev 5913)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-07-28 
17:29:57 UTC (rev 5914)
@@ -1214,22 +1214,19 @@
             # use axesPatch for fill_color, frame for border line props.
             ax.frame.set_linewidth(linewidth)
             if self.projection not in ['geos','ortho']:
-                if fill_color is None:
-                    ax.axesPatch.set_facecolor(ax.get_axis_bgcolor())
-                else:
+                if fill_color is not None:
                     ax.axesPatch.set_facecolor(fill_color)
-                    ax.axesPatch.set_zorder(0)
-                    ax.frame.set_zorder(0)
                 ax.frame.set_edgecolor(color)
                 ax.set_frame_on(True)
+                # FIXME?  should zorder be set separately for edge and 
background?
                 if zorder is not None:
                     ax.axesPatch.set_zorder(zorder)
                     ax.frame.set_zorder(zorder)
             else:
                 # use axesPatch for fill_color, frame for border line props.
-                ax.axesPatch.set_edgecolor(color)
                 ax.frame.set_edgecolor(color)
                 ax.set_frame_on(True)
+                # FIXME?  should zorder be set separately for edge and 
background?
                 if zorder is not None:
                     ax.axesPatch.set_zorder(zorder)
                     ax.frame.set_zorder(zorder)


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to