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

Method transform_path

lib/matplotlib/transforms.py:1653–1660  ·  view source on GitHub ↗

Apply the transform to `.Path` *path*, returning a new `.Path`. In some cases, this transform may insert curves into the path that began as line segments.

(self, path)

Source from the content-addressed store, hash-verified

1651 return self.transform(point)
1652
1653 def transform_path(self, path):
1654 """
1655 Apply the transform to `.Path` *path*, returning a new `.Path`.
1656
1657 In some cases, this transform may insert curves into the path
1658 that began as line segments.
1659 """
1660 return self.transform_path_affine(self.transform_path_non_affine(path))
1661
1662 def transform_path_affine(self, path):
1663 """

Callers 15

drawMethod · 0.45
containsMethod · 0.45
contains_pointMethod · 0.45
get_extentsMethod · 0.45
_auto_legend_dataMethod · 0.45
__call__Method · 0.45
get_pathMethod · 0.45
draw_pathMethod · 0.45
set_pathsMethod · 0.45
_update_line_limitsMethod · 0.45

Calls 2

transform_path_affineMethod · 0.95

Tested by 8

test_noiseFunction · 0.36
_get_simplifiedFunction · 0.36
test_sine_plus_noiseFunction · 0.36
test_fft_peaksFunction · 0.36
test_path_intersect_pathFunction · 0.36
test_label_without_ticksFunction · 0.36