Skip to content

Commit 4546afd

Browse files
authored
Merge pull request #21332 from navidcy/patch-1
Fix default value for `shading` in`pyplot.pcolormesh` docstring
2 parents 7c86ed7 + f774498 commit 4546afd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/axes/_axes.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -5642,9 +5642,8 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
56425642
expanded as needed into the appropriate 2D arrays, making a
56435643
rectangular grid.
56445644
5645-
shading : {'flat', 'nearest', 'auto'}, optional
5646-
The fill style for the quadrilateral; defaults to 'flat' or
5647-
:rc:`pcolor.shading`. Possible values:
5645+
shading : {'flat', 'nearest', 'auto'}, default: :rc:`pcolor.shading`
5646+
The fill style for the quadrilateral. Possible values:
56485647
56495648
- 'flat': A solid color is used for each quad. The color of the
56505649
quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by

0 commit comments

Comments
 (0)