I would like to call the draw()
function of a matplotlib Spine instance. The documentation for Spines shows that draw()
needs a 'renderer' parameter:
draw(self, renderer)
Code documentation for Renderers is nonexistent, as far as I can tell. All references to them as a class, like matplotlib.backend_bases.Renderer
on the Artist page, don't provide links. Searching turns up nothing but a table of renderers on the Usage FAQ page. This tells me the names of the common renderers, but nothing about how to obtain a reference to one. I've searched for a get_renderer()
function in the docs, but it's turned up nothing so far.
How do I obtain a reference to a renderer in order to use the spines.draw()
function?