title: How to remove frame from matplotlib (pyplot.figure vs matplotlib.figure ) (frameon=False Problematic in matplotlib)
body: <p>To remove frame in figure, I write </p>
  
  <pre><code>frameon=False
  </code></pre>
  
  <p>works perfect with <code>pyplot.figure</code>, but with <code>matplotlib.Figure</code> it only removes the gray background, the frame stays . Also, I only want the lines to show, and all the rest of figure be transparent.</p>
  
  <p>with pyplot I can do what I want, I want to do it with matplotlib for some long reason I 'd rather not mention to extend my question.</p>