MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / transform_path

Method transform_path

site-packages/matplotlib/transforms.py:1513–1522  ·  view source on GitHub ↗

Returns a transformed path. *path*: a :class:`~matplotlib.path.Path` instance. 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

1511 return self.transform(np.asarray([point]))[0]
1512
1513 def transform_path(self, path):
1514 """
1515 Returns a transformed path.
1516
1517 *path*: a :class:`~matplotlib.path.Path` instance.
1518
1519 In some cases, this transform may insert curves into the path
1520 that began as line segments.
1521 """
1522 return self.transform_path_affine(self.transform_path_non_affine(path))
1523
1524 def transform_path_affine(self, path):
1525 """

Callers 15

containsMethod · 0.45
contains_pointMethod · 0.45
_auto_legend_dataMethod · 0.45
get_pathMethod · 0.45
set_pathsMethod · 0.45
_update_line_limitsMethod · 0.45
test_noiseFunction · 0.45
_get_simplifiedFunction · 0.45

Calls 2

transform_path_affineMethod · 0.95

Tested by 7

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