title: How to show matplotlib plot from a figure object
body: <p>My code contains the following lines:</p>
  
  <pre><code>from matplotlib.figure import Figure
  
  figure = Figure(figsize=(10, 5), dpi=dpi)
  </code></pre>
  
  <p>How can I get matplotlib to show this figure? I also show it embedded in tkinter, which workes fine. However I would also be able to show it in the standard matplotlib window. But I can't for the life of me get it to work.</p>