title: How to use time as x axis for a scatterplot with seaborn?
body: <p>I have a simple dataframe with the time as index and dummy values as example.[<img src="https://i.stack.imgur.com/yaise.png" alt="my sample">]
  I did a simple scatter plot as you see here:<a href="https://i.stack.imgur.com/GDwPw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GDwPw.png" alt="enter image description here"></a></p>
  
  <p>Simple question: How to adjust the <code>xaxis</code>, so that all time values from 00:00 to 23:00 are visible in the <code>xaxis</code>? The rest of the plot is fine, it shows all the datapoints, it is just the labeling. Tried different things but didn't work out.</p>
  
  <p>All my code so far is: </p>
  
  <pre><code>import pandas as pd
  import seaborn as sns
  import matplotlib.dates as mdates
  from datetime import time
  
  data = []
  for i in range(0, 24):
      temp_list = []
      temp_list.append(time(i))
      temp_list.append(i)
      data.append(temp_list)
  
  my_df = pd.DataFrame(data, columns=["time", "values"])    
  my_df.set_index(['time'],inplace=True)
  my_df
  fig = sns.scatterplot(my_df.index, my_df['values'])
  fig.set(xlabel='time', ylabel='values')
  </code></pre>