title: change x-axis of a plot
body: <p>I am trying to create a visualization of vehicles passing by in the first 25 weeks of the years 2015-2020 all in one graph (one curve for every year).</p>
  <pre><code>df_data_groups = df_data[(df_data['week']&lt;=25)].groupby(['year','week'])
  df_data_weekly = df_data_groups[['NO','nr_of_vehicles']].mean()
  
  fig, ax = plt.subplots()
  bp = df_data_weekly['nr_of_vehicles'].groupby('year').plot(ax=ax)
  
  </code></pre>
  <p>The following is what i get</p>
  <p><a href="https://i.stack.imgur.com/v4HEG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v4HEG.png" alt="plot" /></a></p>
  <p>The x-axis is not right. It should not contain the year, only the weeks, but I don't know how to solve this correctly. It also is not allowing me to create a legend to show which lines belongs to the color of the line, by using:</p>
  <pre><code>bp.set_legend()
  </code></pre>