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

Method draw_path

lib/matplotlib/patheffects.py:59–68  ·  view source on GitHub ↗

Derived should override this method. The arguments are the same as :meth:`matplotlib.backend_bases.RendererBase.draw_path` except the first argument is a renderer.

(self, renderer, gc, tpath, affine, rgbFace=None)

Source from the content-addressed store, hash-verified

57 return gc
58
59 def draw_path(self, renderer, gc, tpath, affine, rgbFace=None):
60 """
61 Derived should override this method. The arguments are the same
62 as :meth:`matplotlib.backend_bases.RendererBase.draw_path`
63 except the first argument is a renderer.
64 """
65 # Get the real renderer, not a PathEffectRenderer.
66 if isinstance(renderer, PathEffectRenderer):
67 renderer = renderer._renderer
68 return renderer.draw_path(gc, tpath, affine, rgbFace)
69
70
71class PathEffectRenderer(RendererBase):

Callers

nothing calls this directly

Calls 1

draw_pathMethod · 0.45

Tested by

no test coverage detected