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

Method _set_hatchcolor

lib/matplotlib/collections.py:932–938  ·  view source on GitHub ↗
(self, c)

Source from the content-addressed store, hash-verified

930 self._set_edgecolor(c)
931
932 def _set_hatchcolor(self, c):
933 c = mpl._val_or_rc(c, 'hatch.color')
934 if cbook._str_equal(c, 'edge'):
935 self._hatchcolors = 'edge'
936 else:
937 self._hatchcolors = mcolors.to_rgba_array(c, self._alpha)
938 self.stale = True
939
940 def set_hatchcolor(self, c):
941 """

Callers 2

set_hatchcolorMethod · 0.95
set_alphaMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected