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

Method get_hatchcolor

lib/matplotlib/collections.py:891–897  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

889 return mpl.rcParams['patch.edgecolor']
890
891 def get_hatchcolor(self):
892 if cbook._str_equal(self._hatchcolors, 'edge'):
893 if len(self.get_edgecolor()) == 0:
894 return mpl.colors.to_rgba_array(self._get_default_edgecolor(),
895 self._alpha)
896 return self.get_edgecolor()
897 return self._hatchcolors
898
899 def _set_edgecolor(self, c):
900 if c is None:

Callers 1

drawMethod · 0.95

Calls 2

get_edgecolorMethod · 0.95

Tested by

no test coverage detected