title: Matplotlib -- UserWarning: Attempting to set identical left == right == 737342.0 results in singular transformations;
body: <p>By Using Matplotlib i am trying to create a Line chart but i am facing below issue. Below is the code. Can someone help me with any suggestion</p>
  
  <pre><code>Head = ['Date','Count1','Count2','Count3']
  
  df9 = pd.DataFrame(Data, columns=Head)
  
  df9.set_index('Date',inplace=True)
  fig,ax = plt.subplots(figsize=(15,10))
  
  df9.plot(ax=ax)
  
  ax.xaxis.set_major_locator(mdates.WeekdayLocator(SATURDAY))
  ax.xaxis.set_major_formatter(mdates.DateFormatter('%b %d'))
  
  plt.legend()
  plt.xticks(fontsize= 15)
  plt.yticks(fontsize= 15)
  plt.savefig(Line.png)
  </code></pre>
  
  <p>i am getting below error</p>
  
  <pre><code>Error: Matplotlib UserWarning: Attempting to set identical left == right == 737342.0 results in singular transformations; automatically expanding (ax.set_xlim(left, right))
  </code></pre>
  
  <p>Sample Data: </p>
  
  <pre><code>01-10-2010, 100, 0 , 100
  </code></pre>
  
  <p>X Axis: I am trying to display date on base of date every saturdays
  Y Axis: all other 3 counts</p>
  
  <p>Can some one please help me whats this issue and how can i fix this... </p>