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

Method _set_hatchcolor

lib/matplotlib/patches.py:430–436  ·  view source on GitHub ↗
(self, color)

Source from the content-addressed store, hash-verified

428 self.set_facecolor(c)
429
430 def _set_hatchcolor(self, color):
431 color = mpl._val_or_rc(color, 'hatch.color')
432 if cbook._str_equal(color, 'edge'):
433 self._hatch_color = 'edge'
434 else:
435 self._hatch_color = colors.to_rgba(color, self._alpha)
436 self.stale = True
437
438 def set_hatchcolor(self, color):
439 """

Callers 3

set_hatchcolorMethod · 0.95
set_alphaMethod · 0.95
set_fillMethod · 0.95

Calls 1

to_rgbaMethod · 0.45

Tested by

no test coverage detected