MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_extremes

Method set_extremes

lib/matplotlib/colors.py:914–919  ·  view source on GitHub ↗

Set the colors for masked (*bad*) values and, when ``norm.clip = False``, low (*under*) and high (*over*) out-of-range values.

(self, *, bad=None, under=None, over=None)

Source from the content-addressed store, hash-verified

912 alternative="cmap.with_extremes(bad=..., under=..., over=...) or "
913 "Colormap(bad=..., under=..., over=...)")
914 def set_extremes(self, *, bad=None, under=None, over=None):
915 """
916 Set the colors for masked (*bad*) values and, when ``norm.clip =
917 False``, low (*under*) and high (*over*) out-of-range values.
918 """
919 self._set_extremes(bad=bad, under=under, over=over)
920
921 def with_extremes(self, *, bad=None, under=None, over=None):
922 """

Callers

nothing calls this directly

Calls 1

_set_extremesMethod · 0.95

Tested by

no test coverage detected