title: How do I obtain a matplotlib renderer to pass?
body: <p>I would like to call the <code>draw()</code> function of a matplotlib Spine instance.  The <a href="https://matplotlib.org/3.2.0/api/spines_api.html#matplotlib.spines.Spine.draw" rel="noreferrer">documentation for Spines</a> shows that <code>draw()</code> needs a 'renderer' parameter:</p>
  
  <pre><code>draw(self, renderer)
  </code></pre>
  
  <p>Code documentation for Renderers is nonexistent, as far as I can tell. All references to them as a class, like <code>matplotlib.backend_bases.Renderer</code> on the <a href="https://matplotlib.org/3.2.0/tutorials/intermediate/artists.html" rel="noreferrer">Artist page</a>, don't provide links.  Searching turns up nothing but a table of renderers on the <a href="https://matplotlib.org/faq/usage_faq.html#what-is-a-backend" rel="noreferrer">Usage FAQ</a> 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 <code>get_renderer()</code> function in the docs, but it's turned up nothing so far.</p>
  
  <p>How do I obtain a reference to a renderer in order to use the <code>spines.draw()</code> function?</p>