title: How to enable display of Matplotlib graphs with PyCharm?
body: <p>When I run a program with PyCharm, it doesn't display graphs made with Matplotlib. E.g.:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  [...]
  plt.imshow(montage(W / np.max(W)), cmap='coolwarm')
  </code></pre>
  
  <p>I tried calling</p>
  
  <pre><code>plt.interactive(False)
  </code></pre>
  
  <p>first, but it didn't make a difference.</p>
  
  <p>Running the same program with ipython3, the graphs are displayed.</p>