Revision: 8614
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8614&view=rev
Author:   leejjoon
Date:     2010-08-03 05:07:40 +0000 (Tue, 03 Aug 2010)

Log Message:
-----------
turn off antialiasing for the solids attribute in axes_grid1.colorbar.

Modified Paths:
--------------
    branches/v1_0_maint/lib/mpl_toolkits/axes_grid1/colorbar.py

Modified: branches/v1_0_maint/lib/mpl_toolkits/axes_grid1/colorbar.py
===================================================================
--- branches/v1_0_maint/lib/mpl_toolkits/axes_grid1/colorbar.py 2010-08-02 
12:31:43 UTC (rev 8613)
+++ branches/v1_0_maint/lib/mpl_toolkits/axes_grid1/colorbar.py 2010-08-03 
05:07:40 UTC (rev 8614)
@@ -545,6 +545,8 @@
         del self.dividers
 
         col = self.ax.pcolor(*args, **kw)
+        col.set_antialiased(False) # This is to suppress artifacts. We
+                                   # may use pcolormesh instead.
         self.solids = col
         if self.drawedges:
             self.dividers = collections.LineCollection(self._edges(X,Y),


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

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to