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

Method _ensure_inited

lib/matplotlib/colors.py:980–982  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

978 raise NotImplementedError("Abstract class only")
979
980 def _ensure_inited(self):
981 if not self._isinit:
982 self._init()
983
984 def is_gray(self):
985 """Return whether the colormap is grayscale."""

Callers 8

_get_rgba_and_maskMethod · 0.95
__eq__Method · 0.95
get_badMethod · 0.95
get_underMethod · 0.95
get_overMethod · 0.95
is_grayMethod · 0.95
with_alphaMethod · 0.80
monochromeMethod · 0.80

Calls 1

_initMethod · 0.95

Tested by

no test coverage detected