From 88a267f5f3059c4a0b15ded7aa8db798f0dc7b13 Mon Sep 17 00:00:00 2001 From: Jan Koehler Date: Sat, 11 Jul 2015 11:17:21 +0200 Subject: [PATCH] hist2d() is now using pcolormesh instead of pcolorfast --- lib/matplotlib/axes/_axes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 2cc1646fb285..5a3270215ba1 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -6087,7 +6087,7 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None, Other parameters ----------------- - kwargs : :meth:`pcolorfast` properties. + kwargs : :meth:`pcolormesh` properties. See also -------- @@ -6117,7 +6117,7 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None, if cmax is not None: h[h > cmax] = None - pc = self.pcolorfast(xedges, yedges, h.T, **kwargs) + pc = self.pcolormesh(xedges, yedges, h.T, **kwargs) self.set_xlim(xedges[0], xedges[-1]) self.set_ylim(yedges[0], yedges[-1])