@@ -6547,11 +6547,11 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
65476547 :ref:`Notes <axes-pcolormesh-grid-orientation>` section below.
65486548
65496549 If ``shading='flat'`` the dimensions of *X* and *Y* should be one
6550- greater than those of *C*, otherwise a ValueError is raised. The
6550+ greater than those of *C*, otherwise a TypeError is raised. The
65516551 quadrilateral is colored due to the value at ``C[i, j]``.
65526552
65536553 If ``shading='nearest'``, the dimensions of *X* and *Y* should be
6554- the same as those of *C* (if not, a ValueError will be raised). The
6554+ the same as those of *C* (if not, a TypeError will be raised). The
65556555 color ``C[i, j]`` will be centered on ``(X[i, j], Y[i, j])``.
65566556
65576557 If *X* and/or *Y* are 1-D arrays or column vectors they will be
@@ -6564,9 +6564,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
65646564 - 'flat': A solid color is used for each quad. The color of the
65656565 quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by
65666566 ``C[i, j]``. The dimensions of *X* and *Y* should be
6567- one greater than those of *C*; if they are the same as *C*,
6568- then a deprecation warning is raised, and the last row
6569- and column of *C* are dropped.
6567+ one greater than those of *C*.
65706568 - 'nearest': Each grid point will have a color centered on it,
65716569 extending halfway between the adjacent grid centers. The
65726570 dimensions of *X* and *Y* must be the same as *C*.
@@ -6752,11 +6750,11 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
67526750 :ref:`Notes <axes-pcolormesh-grid-orientation>` section below.
67536751
67546752 If ``shading='flat'`` the dimensions of *X* and *Y* should be one
6755- greater than those of *C*, otherwise a ValueError is raised. The
6753+ greater than those of *C*, otherwise a TypeError is raised. The
67566754 quadrilateral is colored due to the value at ``C[i, j]``.
67576755
67586756 If ``shading='nearest'`` or ``'gouraud'``, the dimensions of *X*
6759- and *Y* should be the same as those of *C* (if not, a ValueError
6757+ and *Y* should be the same as those of *C* (if not, a TypeError
67606758 will be raised). For ``'nearest'`` the color ``C[i, j]`` is
67616759 centered on ``(X[i, j], Y[i, j])``. For ``'gouraud'``, a smooth
67626760 interpolation is carried out between the quadrilateral corners.
@@ -6794,9 +6792,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
67946792 - 'flat': A solid color is used for each quad. The color of the
67956793 quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by
67966794 ``C[i, j]``. The dimensions of *X* and *Y* should be
6797- one greater than those of *C*; if they are the same as *C*,
6798- then a deprecation warning is raised, and the last row
6799- and column of *C* are dropped.
6795+ one greater than those of *C*.
68006796 - 'nearest': Each grid point will have a color centered on it,
68016797 extending halfway between the adjacent grid centers. The
68026798 dimensions of *X* and *Y* must be the same as *C*.
0 commit comments