title: How do you chance the x-axis of df.plot()?
body: <p>I have been trying to plot all my x value on the x axis, but I cannot get the job done.</p>
  <p>My df contains 12 row (ZT2, ZT4 ... ZT24), which need to be plotted on the x-axis. I want to include every row as a x-label, only the plot() function has a default in which it skips one x-label (see picture).</p>
  <pre><code>exp_val_module
  sns.set_palette('Greens')
  t_exp_val_module.plot(legend=False)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/dspQI.png" rel="nofollow noreferrer">plot_image</a></p>
  <p>I noticed this is a common problem but already some fixes the fixes I tried are not giving me what I want. What am I doing wrong?</p>
  <p>I tried:</p>
  <pre><code>time_points = 2+np.arange(len(t_exp_val_module))*2
  plt.xticks(time_points)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/weYpX.png" rel="nofollow noreferrer">plot_fix_try_1</a></p>
  <p>I tried:</p>
  <pre><code>ndx = t_exp_val_module.index
  plt.xticks(ndx)
  
  ConversionError: Failed to convert value(s) to axis units: Index(['ZT02', 'ZT04', 'ZT06', 'ZT08', 'ZT10', 'ZT12', 'ZT14', 'ZT16', 'ZT18',
         'ZT20', 'ZT22', 'ZT24'],
        dtype='object')
  </code></pre>
  <p>I also tried putting the xticks in the plot() function</p>
  <pre><code> df.plot(xticks=time_point)
  </code></pre>
  <p>And tried</p>
  <pre><code>plt.xticks(time_points, ndx)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/M2rfe.png" rel="nofollow noreferrer">plot_try_4</a></p>