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

Method _set_edgecolor

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

Source from the content-addressed store, hash-verified

372 self.stale = True
373
374 def _set_edgecolor(self, color):
375 if color is None:
376 if (mpl.rcParams['patch.force_edgecolor'] or
377 not self._fill or self._edge_default):
378 color = mpl.rcParams['patch.edgecolor']
379 else:
380 color = 'none'
381
382 self._edgecolor = colors.to_rgba(color, self._alpha)
383 self.stale = True
384
385 def set_edgecolor(self, color):
386 """

Callers 3

set_edgecolorMethod · 0.95
set_alphaMethod · 0.95
set_fillMethod · 0.95

Calls 1

to_rgbaMethod · 0.45

Tested by

no test coverage detected