title: Python - Barchart in Matplotlib - How to change X axis
body: <p>simple, probably dummy question, but I can't find the answer:</p>
  
  <p>How to adjust the X axis for a bar plot in Matplotlib?</p>
  
  <p>my code so far:</p>
  
  <pre><code>_ = matplotlib.pyplot.bar(names, value, color="blue")
  _.axis([-11,11,0,1])
  </code></pre>
  
  <p>returns 
  --> <code>AttributeError: 'BarContainer' object has no attribute 'axis'</code></p>