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

Method set_array

lib/matplotlib/collections.py:2697–2704  ·  view source on GitHub ↗
(self, A)

Source from the content-addressed store, hash-verified

2695 return fc[unmasked_polys, :]
2696
2697 def set_array(self, A):
2698 # docstring inherited
2699 prev_unmask = self._get_unmasked_polys()
2700 super().set_array(A)
2701 # If the mask has changed at all we need to update
2702 # the set of Polys that we are drawing
2703 if not np.array_equal(prev_unmask, self._get_unmasked_polys()):
2704 self._set_unmasked_verts()

Callers

nothing calls this directly

Calls 3

_get_unmasked_polysMethod · 0.95
_set_unmasked_vertsMethod · 0.95
set_arrayMethod · 0.45

Tested by

no test coverage detected