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

Method _convert_path

lib/matplotlib/backends/backend_ps.py:548–555  ·  view source on GitHub ↗
(self, path, transform, clip=False, simplify=None)

Source from the content-addressed store, hash-verified

546 return self.image_magnification
547
548 def _convert_path(self, path, transform, clip=False, simplify=None):
549 if clip:
550 clip = (0.0, 0.0, self.width * 72.0, self.height * 72.0)
551 else:
552 clip = None
553 return _path.convert_to_string(
554 path, transform, clip, simplify, None,
555 6, [b"m", b"l", b"", b"c", b"cl"], True).decode("ascii")
556
557 def _get_clip_cmd(self, gc):
558 clip = []

Callers 5

create_hatchMethod · 0.95
_get_clip_cmdMethod · 0.95
draw_pathMethod · 0.95
draw_markersMethod · 0.95
draw_path_collectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected