Skip to content

Commit c2a0f7f

Browse files
committed
Undocument shading kwarg to pcolor.
The kwarg doesn't even work anymore (`pcolor(np.random.rand(3, 3), shading="flat")` throws an exception). It has also been marked as deprecated in the docstring since at least 2008.
1 parent 723e47b commit c2a0f7f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5268,16 +5268,6 @@ def pcolor(self, *args, **kwargs):
52685268
``vmin`` or ``vmax`` passed in here override any pre-existing
52695269
values supplied in the ``norm`` instance.
52705270
5271-
shading : {'flat', 'faceted'}, optional, default: 'flat'
5272-
This kwarg is deprecated; please use ``edgecolors`` instead -
5273-
5274-
* ``shading='flat'``: ``edgecolors='none'``
5275-
* ``shading='faceted'``: ``edgecolors='k'``
5276-
5277-
If 'faceted', a black grid is drawn around each rectangle; if
5278-
'flat', edges are not drawn. Default is 'flat', contrary to
5279-
MATLAB.
5280-
52815271
edgecolors : {None, 'none', color, color sequence}
52825272
If None, the rc setting is used by default.
52835273
If 'none', edges will not be visible.

0 commit comments

Comments
 (0)