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

Method _set_edgecolor

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

Source from the content-addressed store, hash-verified

897 return self._hatchcolors
898
899 def _set_edgecolor(self, c):
900 if c is None:
901 if (mpl.rcParams['patch.force_edgecolor']
902 or self._edge_default
903 or cbook._str_equal(self._original_facecolor, 'none')):
904 c = self._get_default_edgecolor()
905 else:
906 c = 'none'
907 if cbook._str_lower_equal(c, 'face'):
908 self._edgecolors = 'face'
909 self.stale = True
910 return
911 self._edgecolors = mcolors.to_rgba_array(c, self._alpha)
912 self.stale = True
913
914 def set_edgecolor(self, c):
915 """

Callers 3

set_edgecolorMethod · 0.95
set_alphaMethod · 0.95
update_scalarmappableMethod · 0.95

Calls 1

Tested by

no test coverage detected