title: TypeError: bar() got multiple values for keyword argument 'height'
body: <p>I tried to recreate one of my excel chart using python but continuously hitting now a wall:</p>
  
  <p>Here is the code as far as I managed to go:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from numpy import arange
  
  myfile = open(r'C:\Users\user\Desktop\Work In Prog\Alpha Data.csv', 'r')
  
  label = [] # this is a string of the label
  data = []  #this is some integer, some are the same value
  
  for lines in myfile:
  
      x = lines.split(',')
      label.append(x[1])
      data.append(x[4])
  
  dataMin = float(min(data))
  dataMax = float(max(data))
  
  pos = arange(dataMin, dataMax, 1)
  
  p1 = plt.bar(pos, data, color='red', height=1)
  
  plt.show()
  </code></pre>