title: Matplotlib image not coming up in Visual Studio Code on Mac
body: <p>I'm running some basic code in the Visual Studio Code editor on MacOSX:</p>
  
  <pre><code>    import matplotlib.pyplot as plt
      import numpy as np
      x = np.linspace(0, 20, 100)
      plt.plot(x, np.sin(x))
      plt.show()
  </code></pre>
  
  <p>...and can't seem to get the png/svg file image to come up after running this. This also doesn't stop executing and I have to manually terminate the process. However, if I run this directly in the Terminal (each line of code line for line) I get the resulting image. One work-around is to just save the file (plt.savefig('foo.png')). This seems to work - the image is saved in the specified file location. However, it would be good to just see the image come up after running the code. </p>