Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix bug in pcolorfast introduced by #901 #994

Merged
merged 1 commit into from

1 participant

Eric Firing
Eric Firing
Owner

The #901 change to the handling of edgecolors in QuadMesh required that the edgecolors kwarg be specified as "None" when QuadMesh is called by pcolorfast.

Eric Firing efiring merged commit 8c57e4f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 9, 2012
  1. Eric Firing
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/matplotlib/axes.py
8 lib/matplotlib/axes.py
View
@@ -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]
Something went wrong with that request. Please try again.