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

Method get_hatchcolor

lib/matplotlib/patches.py:347–353  ·  view source on GitHub ↗

Return the hatch color.

(self)

Source from the content-addressed store, hash-verified

345 return self._facecolor
346
347 def get_hatchcolor(self):
348 """Return the hatch color."""
349 if self._hatch_color == 'edge':
350 if self._edgecolor[3] == 0: # fully transparent
351 return colors.to_rgba(mpl.rcParams['patch.edgecolor'])
352 return self.get_edgecolor()
353 return self._hatch_color
354
355 def get_linewidth(self):
356 """Return the line width in points."""

Calls 2

get_edgecolorMethod · 0.95
to_rgbaMethod · 0.45