title: Why am I getting UserWarning: Matplotlib is currently using ps, which is a non-GUI backend, so cannot show the figure
body: <p>This is not in a <code>jupyter</code> notebook so this is not a <a href="https://stackoverflow.com/questions/37365357/when-i-use-matplotlib-in-jupyter-notebook-it-always-raise-matplotlib-is-curren">duplicate of this question</a>, but my code is:</p>
  
  <pre><code>from gluoncv import model_zoo, data, utils
  from matplotlib import pyplot as plt
  
  ...
  plt.show()
  </code></pre>
  
  <p>The error I'm getting is:</p>
  
  <pre><code>/figure.py:445: UserWarning: Matplotlib is currently using ps, which is a non-GUI backend, so cannot show the figure.
    % get_backend())
  </code></pre>
  
  <p>I created a repl at <a href="https://repl.it/@shamoons/WelloffHarmfulMineral" rel="nofollow noreferrer">https://repl.it/@shamoons/WelloffHarmfulMineral</a></p>
  
  <p>If it matters, I'm using OS X. What do I need to do to get the image to show?</p>