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

Method _recache

lib/matplotlib/markers.py:250–264  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 self._set_marker(marker)
249
250 def _recache(self):
251 if self._marker_function is None:
252 return
253 self._path = _empty_path
254 self._transform = IdentityTransform()
255 self._alt_path = None
256 self._alt_transform = None
257 self._snap_threshold = None
258 self._joinstyle = JoinStyle.round
259 self._capstyle = self._user_capstyle or CapStyle.butt
260 # Initial guess: Assume the marker is filled unless the fillstyle is
261 # set to 'none'. The marker function will override this for unfilled
262 # markers.
263 self._filled = self._fillstyle != 'none'
264 self._marker_function()
265
266 def __bool__(self):
267 return bool(len(self._path.vertices))

Callers 1

_set_markerMethod · 0.95

Calls 1

IdentityTransformClass · 0.85

Tested by

no test coverage detected