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)
| 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 | |
| 71 | class PathEffectRenderer(RendererBase): |