title: matplotlib buttons not displaying on the same window
body: <p>I've made a simple GUI game with matplotlib, I can get it running well on PyCharm if I check "Run with Python Console" in config options.</p>
  
  <p>The problem comes when I try to run it from terminal by doing</p>
  
  <p><code>python MyGame.py</code></p>
  
  <p>Indeed, when doing this, the matplotlib window only displays the plots, but not the widget buttons, and the latters only appear in a second window, when I close the first one...</p>
  
  <p>Is there a way to get all the plots and the buttons in the same window, as it does in PyCharm with my config?</p>
  
  <p>Here is an example of code  having the unexpected behaviour</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import matplotlib.widgets as widgets
  
  ax = plt.subplot()
  ax.plot(.5,.6, marker='o', markersize=15, color='k')
  
  plt.show()
  
  buttonShape = plt.axes([.4, .2, .2, .1])
  button = widgets.Button(buttonShape, "I am a button")
  
  plt.show()
  </code></pre>
  
  <p>Thanks,</p>
  
  <p>Vic</p>