Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7326678

Browse files
authored
Merge pull request #17856 from timhoffm/doc-scatter
Clarify plotnonfinite parameter docs of scatter()
2 parents bdf0177 + ff764d2 commit 7326678

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4401,8 +4401,9 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
44014401
*facecolors*.
44024402
44034403
plotnonfinite : bool, default: False
4404-
Set to plot points with nonfinite *c*, in conjunction with
4405-
`~matplotlib.colors.Colormap.set_bad`.
4404+
Whether to plot points with nonfinite *c* (i.e. ``inf``, ``-inf``
4405+
or ``nan``). If ``True`` the points are drawn with the *bad*
4406+
colormap color (see `.Colormap.set_bad`).
44064407
44074408
Returns
44084409
-------

0 commit comments

Comments
 (0)