title: matplotlib Y-axis scale does not match data
body: <p>Trying to figure out what I am doing wrong here since the y-axis does not look like the data I am using. The data are coming from a Google sheet and seems to go into the dataframe correctly.</p>
  
  <pre><code>    df = pd.DataFrame.from_records(values[1:], columns=values[0])
      df.set_index('date')
      print(df)
      datelist = df.date.tolist()
      fmt = '%Y-%m-%d'  # check the time format of the timestamp in the first column
      x_axis = [datetime.strptime(dat, fmt) for dat in datelist]
      plt.style.use('ggplot')
      plt.plot(x_axis, 'usage', data=df, color='skyblue', linewidth=2, label='Daily Usage')
      plt.plot(x_axis, 'currenttotal', data=df, color='yellow', linewidth=2, label='Total Usage')
      plt.xlabel('Date')
      plt.ylabel('Bandwidth Usage')
      plt.legend(loc='upper left')
      plt.savefig('todaysplot.png', dpi=300)
  </code></pre>
  
  <p>Here is the dataframe:</p>
  
  <pre><code>`           date      usage    currenttotal
      0    2017-11-08    13          328
      1    2017-11-09    12          340
      2    2017-11-10    12          359
      3    2017-11-11     7          366`
  </code></pre>
  
  <p>If you note in the y-axis ticks I am getting the numbers on the left of the dataframe and want numbers from 0 to 1024 on the left, but have not been able to figure out how to do make this happen.</p>
  
  <p><img src="https://i.stack.imgur.com/Cpi1D.png" alt="plot from run"></p>