Skip to content


Subversion checkout URL

You can clone with
Download ZIP


doc: in pcolormesh docstring, say what it does. #1082

merged 1 commit into from

1 participant


Closes #703.

@efiring efiring merged commit 267b0cf into matplotlib:master
@efiring efiring deleted the efiring:doc_pcolormesh branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 13, 2012
  1. @efiring
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/matplotlib/
10 lib/matplotlib/
@@ -7221,6 +7221,16 @@ def pcolormesh(self, *args, **kwargs):
pcolormesh(X, Y, C)
pcolormesh(C, **kwargs)
+ Create a pseudocolor plot of a 2-D array.
+ pcolormesh is similar to :func:`~matplotlib.pyplot.pcolor`,
+ but uses a different mechanism and returns a different
+ object; pcolor returns a
+ :class:`~matplotlib.collections.PolyCollection` but pcolormesh
+ returns a
+ :class:`~matplotlib.collections.QuadMesh`. It is much faster,
+ so it is almost always preferred for large arrays.
*C* may be a masked array, but *X* and *Y* may not. Masked
array support is implemented via *cmap* and *norm*; in
contrast, :func:`~matplotlib.pyplot.pcolor` simply does not
Something went wrong with that request. Please try again.