@@ -5702,7 +5702,9 @@ def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
57025702
57035703 ``pcolor()`` can be very slow for large arrays. In most
57045704 cases you should use the similar but much faster
5705- `~.Axes.pcolormesh` instead. See there for a discussion of the
5705+ `~.Axes.pcolormesh` instead. See
5706+ :ref:`Differences between pcolor() and pcolormesh()
5707+ <differences-pcolor-pcolormesh>` for a discussion of the
57065708 differences.
57075709
57085710 Parameters
@@ -5769,10 +5771,11 @@ def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
57695771 Whether to snap the mesh to pixel boundaries.
57705772
57715773 dropdata: bool, default: True
5772- If True (default), and X and Y are the same size as C in their
5774+ If True (default), and *X* and *Y* are the same size as C in their
57735775 respective dimensions, drop the last element of C in both
5774- dimensions. If False, interpolate X and Y to their midpoints
5775- and extrapolate their endpoints.
5776+ dimensions. If False, *X* and *Y* are assumed to the the midpoints
5777+ of the quadrilaterals, and their edgese are calculated by linear
5778+ interpolation.
57765779
57775780 Returns
57785781 -------
@@ -5824,7 +5827,10 @@ def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
58245827 ``pcolor()`` displays all columns of *C* if *X* and *Y* are not
58255828 specified, or if *X* and *Y* have one more column than *C*.
58265829 If *X* and *Y* have the same number of columns as *C* then the last
5827- column of *C* is dropped. Similarly for the rows.
5830+ column of *C* is dropped if *dropdata* is True. Similarly for the rows.
5831+ If *dropdata* is false, then *X* and *Y* are assumed to be at the
5832+ middle of the quadrilaterals, and the edges of the quadrilaterals are
5833+ linearly interpolated.
58285834
58295835 Note: This behavior is different from MATLAB's ``pcolor()``, which
58305836 always discards the last row and column of *C*.
@@ -5938,9 +5944,9 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
59385944
59395945 *X* and *Y* can be used to specify the corners of the quadrilaterals.
59405946
5941- .. note ::
5947+ .. hint ::
59425948
5943- `~Axes.pcolormesh` is similar to `~Axes.pcolor`. It's much faster
5949+ `~Axes.pcolormesh` is similar to `~Axes.pcolor`. It is much faster
59445950 and preferred in most cases. For a detailed discussion on the
59455951 differences see :ref:`Differences between pcolor() and pcolormesh()
59465952 <differences-pcolor-pcolormesh>`.
@@ -6018,10 +6024,11 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
60186024 Whether to snap the mesh to pixel boundaries.
60196025
60206026 dropdata: bool, default: True
6021- If True (default), and X and Y are the same size as C in their
6027+ If True (default), and *X* and *Y* are the same size as C in their
60226028 respective dimensions, drop the last element of C in both
6023- dimensions. If False, interpolate X and Y to their midpoints
6024- and extrapolate their endpoints.
6029+ dimensions. If False, *X* and *Y* are assumed to the the midpoints
6030+ of the quadrilaterals, and their edgese are calculated by linear
6031+ interpolation.
60256032
60266033 Returns
60276034 -------
0 commit comments