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

Method get_edgecolor

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

Source from the content-addressed store, hash-verified

2673 self.set_verts(verts)
2674
2675 def get_edgecolor(self):
2676 # docstring inherited
2677 # We only want to return the facecolors of the polygons
2678 # that were drawn.
2679 ec = super().get_edgecolor()
2680 unmasked_polys = self._get_unmasked_polys().ravel()
2681 if len(ec) != len(unmasked_polys):
2682 # Mapping is off
2683 return ec
2684 return ec[unmasked_polys, :]
2685
2686 def get_facecolor(self):
2687 # docstring inherited

Callers

nothing calls this directly

Calls 2

_get_unmasked_polysMethod · 0.95
get_edgecolorMethod · 0.45

Tested by

no test coverage detected