title: Matplotlib plots not showing in VS Code
body: <p>I am running Windows 10 and when I run a script that use matplotlib.pyplot to create a plot, no plot is created if I run in the embedded terminal (either bash or powershell) in vscode. However, the figure window is shown in my task bar but I cannot open it.</p>
  <p>I still get a plot when I run the script in jupyter. I also get a plot window when I run the script in the 'Terminal' app. So, I figured this problem has something to do with vscode.</p>
  <p>The code I use is really simple:</p>
  <pre class="lang-py prettyprint-override"><code>import matplotlib.pyplot as plt
  
  x = [1, 1]
  plt.plot(x)
  plt.show()
  </code></pre>