title: How to set bar chart to use just the values passed into the bar function?
body: <p>This code to display a simple bar chart:</p>
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  fig = plt.figure()
  
  x = [1]
  height = [8]
  width = 1.0
  
  plt.bar(x, height, width, color='b' )
  
  plt.savefig('SimpleBar.png')
  plt.show()
  </code></pre>
  <p>produces:</p>
  <p><a href="https://i.stack.imgur.com/Lpqqw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lpqqw.png" alt="enter image description here" /></a></p>
  <p>How to display a single value for the bar? In this case, display 1 instead of <code>0.6,0.8,1.0,1.2,1.4</code></p>