Fix bug in pcolorfast introduced by #901 #994

Merged
merged 1 commit into from Jul 9, 2012
+4 −4
View
8 lib/matplotlib/axes.py
@@ -7386,7 +7386,7 @@ def pcolorfast(self, *args, **kwargs):
# The QuadMesh class can also be changed to
# handle relevant superclass kwargs; the initializer
# should do much more than it does now.
- collection = mcoll.QuadMesh(nc, nr, coords, 0)
+ collection = mcoll.QuadMesh(nc, nr, coords, 0, edgecolors="None")
collection.set_alpha(alpha)
collection.set_array(C)
collection.set_cmap(cmap)
@@ -7969,8 +7969,8 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
The default value is 10.
*range*: [*None* | array_like shape(2,2)]
- The leftmost and rightmost edges of the bins along each dimension (if not specified
- explicitly in the bins parameters): [[xmin, xmax], [ymin, ymax]]. All values outside of
+ The leftmost and rightmost edges of the bins along each dimension (if not specified
+ explicitly in the bins parameters): [[xmin, xmax], [ymin, ymax]]. All values outside of
this range will be considered outliers and not tallied in the histogram.
*normed*:[True|False]
@@ -7981,7 +7981,7 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
An array of values w_i weighing each sample (x_i, y_i).
*cmin* : [None| scalar]
- All bins that has count less than cmin will not be displayed
+ All bins that has count less than cmin will not be displayed
and these count values in the return value count histogram will also be set to nan upon return
*cmax* : [None| scalar]