Skip to content

Commit 7bd41c2

Browse files
committed
Merged revisions 8614 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8614 | leejjoon | 2010-08-03 01:07:40 -0400 (Tue, 03 Aug 2010) | 1 line turn off antialiasing for the solids attribute in axes_grid1.colorbar. ........ svn path=/trunk/matplotlib/; revision=8615
1 parent f640414 commit 7bd41c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/mpl_toolkits/axes_grid1/colorbar.py

+2
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ def _add_solids(self, X, Y, C):
545545
del self.dividers
546546

547547
col = self.ax.pcolor(*args, **kw)
548+
col.set_antialiased(False) # This is to suppress artifacts. We
549+
# may use pcolormesh instead.
548550
self.solids = col
549551
if self.drawedges:
550552
self.dividers = collections.LineCollection(self._edges(X,Y),

0 commit comments

Comments
 (0)