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

Method get_bad

lib/matplotlib/colors.py:870–873  ·  view source on GitHub ↗

Get the color for masked values.

(self)

Source from the content-addressed store, hash-verified

868 return np.array_equal(self._lut, other._lut)
869
870 def get_bad(self):
871 """Get the color for masked values."""
872 self._ensure_inited()
873 return np.array(self._lut[self._i_bad])
874
875 @_api.deprecated(
876 "3.11",

Calls 1

_ensure_initedMethod · 0.95