MCPcopy
hub / github.com/matplotlib/matplotlib / transformed

Method transformed

lib/matplotlib/path.py:508–519  ·  view source on GitHub ↗

Return a transformed copy of the path. See Also -------- matplotlib.transforms.TransformedPath A specialized path class that will cache the transformed result and automatically update when the transform changes.

(self, transform)

Source from the content-addressed store, hash-verified

506 return pth
507
508 def transformed(self, transform):
509 """
510 Return a transformed copy of the path.
511
512 See Also
513 --------
514 matplotlib.transforms.TransformedPath
515 A specialized path class that will cache the transformed result and
516 automatically update when the transform changes.
517 """
518 return Path(transform.transform(self.vertices), self.codes,
519 self._interpolation_steps)
520
521 def contains_point(self, point, transform=None, radius=0.0):
522 """

Callers 15

apply_aspectMethod · 0.45
_sync_limsMethod · 0.45
_update_connectorsMethod · 0.45
get_window_extentMethod · 0.45
get_pos_and_bboxFunction · 0.45
reposition_axesFunction · 0.45
reposition_colorbarFunction · 0.45
get_tick_spaceMethod · 0.45
get_tick_spaceMethod · 0.45
get_text_boundsMethod · 0.45
_get_grid_bboxMethod · 0.45
_auto_legend_dataMethod · 0.45

Calls 2

PathClass · 0.85
transformMethod · 0.45

Tested by 12

test_range_sliderFunction · 0.36
test_marker_transformedFunction · 0.36
test_legend_auto4Function · 0.36
test_legend_auto5Function · 0.36
test_legend_textFunction · 0.36
test_normal_axesFunction · 0.36
draw_boxFunction · 0.36
test_bbox_inchesFunction · 0.36
test_rotation_modeFunction · 0.36