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

Method _convert_path

lib/matplotlib/backends/backend_svg.py:680–688  ·  view source on GitHub ↗
(self, path, transform=None, clip=None, simplify=None,
                      sketch=None)

Source from the content-addressed store, hash-verified

678 return not mpl.rcParams['image.composite_image']
679
680 def _convert_path(self, path, transform=None, clip=None, simplify=None,
681 sketch=None):
682 if clip:
683 clip = (0.0, 0.0, self.width, self.height)
684 else:
685 clip = None
686 return _path.convert_to_string(
687 path, transform, clip, simplify, sketch, 6,
688 [b'M', b'L', b'Q', b'C', b'z'], False).decode('ascii')
689
690 def draw_path(self, gc, path, transform, rgbFace=None):
691 # docstring inherited

Callers 7

_write_hatchesMethod · 0.95
_write_clipsMethod · 0.95
draw_pathMethod · 0.95
draw_markersMethod · 0.95
draw_path_collectionMethod · 0.95
_draw_text_as_pathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected