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

Method set_over

lib/matplotlib/colors.py:905–907  ·  view source on GitHub ↗

Set the color for high out-of-range values.

(self, color='k', alpha=None)

Source from the content-addressed store, hash-verified

903 pending=True,
904 alternative="cmap.with_extremes(over=...) or Colormap(over=...)")
905 def set_over(self, color='k', alpha=None):
906 """Set the color for high out-of-range values."""
907 self._set_extremes(over=(color, alpha))
908
909 @_api.deprecated(
910 "3.11",

Callers 2

contourf_demo.pyFile · 0.80

Calls 1

_set_extremesMethod · 0.95

Tested by

no test coverage detected