Skip to content

Backport PR #21332 on branch v3.5.x (Fix default value for shading inpyplot.pcolormesh docstring) #21340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5629,9 +5629,8 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
expanded as needed into the appropriate 2D arrays, making a
rectangular grid.

shading : {'flat', 'nearest', 'auto'}, optional
The fill style for the quadrilateral; defaults to 'flat' or
:rc:`pcolor.shading`. Possible values:
shading : {'flat', 'nearest', 'auto'}, default: :rc:`pcolor.shading`
The fill style for the quadrilateral. Possible values:

- 'flat': A solid color is used for each quad. The color of the
quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by
Expand Down