title: How to plot on my GUI
body: <p>I'm designing a GUI with <code>PyQt</code> where I need to display a matplotlib/pylab window when I click on a button that makes the plot of the data from a function I've created. It's like a runtime used in Matlab. I want to keep the matplotlib/pylab window as my window everytime I press that button.</p>