Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c57e4f

Browse files
committed
Merge pull request #994 from efiring/fix_pcolorfast_quadmesh
Fix bug in pcolorfast introduced by #901
2 parents cf53d4c + b6c5625 commit 8c57e4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7386,7 +7386,7 @@ def pcolorfast(self, *args, **kwargs):
73867386
# The QuadMesh class can also be changed to
73877387
# handle relevant superclass kwargs; the initializer
73887388
# should do much more than it does now.
7389-
collection = mcoll.QuadMesh(nc, nr, coords, 0)
7389+
collection = mcoll.QuadMesh(nc, nr, coords, 0, edgecolors="None")
73907390
collection.set_alpha(alpha)
73917391
collection.set_array(C)
73927392
collection.set_cmap(cmap)
@@ -7969,8 +7969,8 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
79697969
The default value is 10.
79707970
79717971
*range*: [*None* | array_like shape(2,2)]
7972-
The leftmost and rightmost edges of the bins along each dimension (if not specified
7973-
explicitly in the bins parameters): [[xmin, xmax], [ymin, ymax]]. All values outside of
7972+
The leftmost and rightmost edges of the bins along each dimension (if not specified
7973+
explicitly in the bins parameters): [[xmin, xmax], [ymin, ymax]]. All values outside of
79747974
this range will be considered outliers and not tallied in the histogram.
79757975
79767976
*normed*:[True|False]
@@ -7981,7 +7981,7 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
79817981
An array of values w_i weighing each sample (x_i, y_i).
79827982
79837983
*cmin* : [None| scalar]
7984-
All bins that has count less than cmin will not be displayed
7984+
All bins that has count less than cmin will not be displayed
79857985
and these count values in the return value count histogram will also be set to nan upon return
79867986
79877987
*cmax* : [None| scalar]

0 commit comments

Comments
 (0)