title: how to set the width of daily bar chart in python matplotlib
body: <p>I want to plot the daily rainfall data of 5 years by the bar chart. when the width of bars is 1, they become lines without any width, while I changed the width of bars they overlapped each other like the image below. I want to have discrete bar charts with a good looking width. This my code.</p>
  
  <pre><code>import pandas as pd
  from datetime import datetime, timedelta
  from matplotlib import pyplot as plt    
  data=pd.read_excel('final.xlsx')
  data['Date']=pd.to_datetime(data['Date'])
  date = data['Date']
  amount = data['Amount'] 
  plt.bar (date, amount, color='gold', edgecolor='blue', align='center', width=5)
  plt.ylabel('rainfall amount (mm)')
  plt.show()
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/hv4hy.jpg" alt="image"></p>