Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4cc7ff

Browse filesBrowse files
authored
Merge pull request #21332 from navidcy/patch-1
Fix default value for `shading` in`pyplot.pcolormesh` docstring
2 parents cd8c7fa + 666f756 commit b4cc7ff
Copy full SHA for b4cc7ff

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-3Lines changed: 2 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.