title: creating barchart with matplotlib
body: <p>I'm trying to create a bar chart with <code>matplotlib</code> using <code>python 3.7</code>. 
  This is my code:</p>
  
  <pre><code>import matplotlib.pyplot
  import numpy as np
  pos=np.arange(6)+0.5
  
  matplotlib.pyplot.bar(pos(4,8,12,3,17,6),align="center",color="red")
  matplotlib.pyplot.show()
  </code></pre>
  
  <p>But I keep getting this error:</p>
  
  <pre><code> File "&lt;ipython-input-29-97c1c7ce69fe&gt;", line 3, in &lt;module&gt;
   matplotlib.pyplot.bar(pos(4,8,12,3,17,6),align="center",color="red")
   TypeError: 'numpy.ndarray' object is not callable
  </code></pre>