title: Axis ticks in histogram of times in matplotlib/seaborn
body: <p>I've got a df with messages from a WhatsApp chat, the sender and the corresponding time in datetime format.</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Time</th>
  <th>Sender</th>
  <th>Message</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>2020-12-21 22:23:00</td>
  <td>Sender 1</td>
  <td>&quot;...&quot;</td>
  </tr>
  <tr>
  <td>2020-12-21 22:26:00</td>
  <td>Sender 2</td>
  <td>&quot;...&quot;</td>
  </tr>
  <tr>
  <td>2020-12-21 22:35:00</td>
  <td>Sender 1</td>
  <td>&quot;...&quot;</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I can plot the histogram with <code>sns.histplot(df[&quot;Time&quot;], bins=48)</code></p>
  <p>But now the ticks on the x-axis don't make much sense. I end up with 30 ticks even though it should be 24 and also the ticks all contain the whole date plus the time where I would want only the time in &quot;%H:%M&quot;</p>
  <p>Where is the issue with the wrong ticks coming from?</p>
  <p>Thanks!</p>