title: Error when using Matplotlib.image in Python
body: <p>Okay, so I just started <a href="http://matplotlib.org/users/image_tutorial.html" rel="nofollow">this</a> tutorial using Anaconda in PyCharm. I imported the correct libraries, but when I try to upload my image using this code:</p>
  
  <pre><code>img = mpimg.imread('FileName.png')
  </code></pre>
  
  <p>I get this error message:</p>
  
  <p><code>Traceback (most recent call last):
    File "&lt;input&gt;", line 1, in &lt;module&gt;
    File ".../matplotlib/image.py", line 1323, in imread
      with open(fname, 'rb') as fd:
  IOError: [Errno 2] No such file or directory: 'FileName.png'</code></p>
  
  <p>I tried putting in the file location like this:</p>
  
  <pre><code>img=mpimg.imread('FilePath/FileName.png')
  </code></pre>
  
  <p>But I got the same error. I want to follow the tutorial exactly so I'm not sure why this isn't working! Any help is appreciated!</p>