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

Method set_under

lib/matplotlib/colors.py:892–894  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

890 pending=True,
891 alternative="cmap.with_extremes(under=...) or Colormap(under=...)")
892 def set_under(self, color='k', alpha=None):
893 """Set the color for low out-of-range values."""
894 self._set_extremes(under=(color, alpha))
895
896 def get_over(self):
897 """Get the color for high out-of-range values."""

Callers 2

contourf_demo.pyFile · 0.80

Calls 1

_set_extremesMethod · 0.95

Tested by

no test coverage detected