title: AttributeError: 'module' object has no attribute 'hist'
body: <p>I'm new to Python (and am using Spyder) and am trying to create some histograms of when the top movies from IMDB were created. I have imported the matplotlib, numpy and pandas, as well as the .txt file, but when I run the following lines of code: </p>
  
  <pre><code>plt.hist(data.year, bins=np.arange(1950, 2013), color='#cccccc')
  </code></pre>
  
  <p>I receive an error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "stdin", line 1, in &lt;module&gt;
  AttributeError: 'module' object has no attribute 'hist'
  </code></pre>
  
  <p>What am I doing wrong?</p>