From ff764d203b8e1e4f4a81ce4419fe8f7fa027c706 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 8 Jul 2020 17:32:38 +0200 Subject: [PATCH] Clarify plotnonfinite parameter docs of scatter() --- lib/matplotlib/axes/_axes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 00ecf9b9b1d2..40cd2aefa911 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -4401,8 +4401,9 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None, *facecolors*. plotnonfinite : bool, default: False - Set to plot points with nonfinite *c*, in conjunction with - `~matplotlib.colors.Colormap.set_bad`. + Whether to plot points with nonfinite *c* (i.e. ``inf``, ``-inf`` + or ``nan``). If ``True`` the points are drawn with the *bad* + colormap color (see `.Colormap.set_bad`). Returns -------
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: