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

Method _set_facecolor

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

Source from the content-addressed store, hash-verified

394 self._set_edgecolor(color)
395
396 def _set_facecolor(self, color):
397 color = mpl._val_or_rc(color, 'patch.facecolor')
398 alpha = self._alpha if self._fill else 0
399 self._facecolor = colors.to_rgba(color, alpha)
400 self.stale = True
401
402 def set_facecolor(self, color):
403 """

Callers 3

set_facecolorMethod · 0.95
set_alphaMethod · 0.95
set_fillMethod · 0.95

Calls 1

to_rgbaMethod · 0.45

Tested by

no test coverage detected