title: matplotlib figures are not displayed when one types imshow(img) in the command prompt in pdb mode
body: <p>Has anyone encountered this problem using spyder in debug mode (PDB)? It works fine in the interactive mode. </p>
  
  <p>One suggested <a href="https://code.google.com/p/spyderlib/issues/detail?id=620" rel="noreferrer">solution</a> was to use <code>pause(1)</code> instead of <code>show()</code> after <code>imshow(img)</code>.</p>
  
  <p>Is there a better way to see my figures in debug mode? If there was, it would be a real Matlab killer!</p>