title: In python, Error opening location of tmpfile: No such file or directory exist
body: <p>I'm studying from 'Coding the matrix' by Philip Klein. In chapter two, there's an example for plotting complex numbers</p>
  
  <pre class="lang-py prettyprint-override"><code>from plotting import plot
  
  S = {2+2j, 3+2j, 1.75+1j, 2+1j, 2.25+1j, 2.5+1j, 2.75+1j, 3+1j, 3.25+1j}
  
  plot(S, 4)
  </code></pre>
  
  <p>plotting module: <a href="http://resources.codingthematrix.com" rel="nofollow noreferrer">http://resources.codingthematrix.com</a></p>
  
  <p>When I run the code directly through python in the terminal, it works fine, but when I run it as seperate file "$ python example.py", I get this error:</p>
  
  <pre><code>gvfs-open: file:///tmp/tmpOYFVs8.html: error opening location: Error 
  when getting information for file '/tmp/tmpOYFVs8.html': No such file 
  or directory
  </code></pre>
  
  <p>Not sure how to resolve this. Tried to play with module code a bit, but got nowhere.</p>