8000 Backport PR #21332: Fix default value for `shading` in`pyplot.pcolorm… · matplotlib/matplotlib@558eb60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 558eb60

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #21332: Fix default value for shading inpyplot.pcolormesh docstring
1 parent 83cedf3 commit 558eb60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5629,9 +5629,8 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
56295629
expanded as needed into the appropriate 2D arrays, making a
56305630
rectangular grid.
56315631
5632-
shading : {'flat', 'nearest', 'auto'}, optional
5633-
The fill style for the quadrilateral; defaults to 'flat' or
5634-
:rc:`pcolor.shading`. Possible values:
5632+
shading : {'flat', 'nearest', 'auto'}, default: :rc:`pcolor.shading`
5633+
The fill style for the quadrilateral. Possible values:
56355634
56365635
- 'flat': A solid color is used for each quad. The color of the
56375636
quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by

0 commit comments

Comments
 (0)
0