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

Method get_alt_transform

lib/matplotlib/markers.py:363–371  ·  view source on GitHub ↗

Return the transform to be applied to the `.Path` from `MarkerStyle.get_alt_path()`.

(self)

Source from the content-addressed store, hash-verified

361 return self._alt_path
362
363 def get_alt_transform(self):
364 """
365 Return the transform to be applied to the `.Path` from
366 `MarkerStyle.get_alt_path()`.
367 """
368 if self._user_transform is None:
369 return self._alt_transform.frozen()
370 else:
371 return (self._alt_transform + self._user_transform).frozen()
372
373 def get_snap_threshold(self):
374 return self._snap_threshold

Callers 2

test_alt_transformFunction · 0.95
drawMethod · 0.80

Calls 1

frozenMethod · 0.45

Tested by 1

test_alt_transformFunction · 0.76