I have a dataframe with a column "dates" which contains dates already converted into strings. In addition, every row of the dataframe has its own date (one per day basically, per 306 days), therefore when I plot with seaborn the x-axis' labels get dense and messy.
I was wondering if there was any way to only show fewer tickers, with just 5 dates (more or less) respecting the relationship between dates and data reported on the graph.
So far, I've tried this line of code to set the tickers:
plt.xticks(np.arange(12), cr.month_name[1:12], rotation=45)
however, the tickers and labels are plotted on the extreme left angle of the graph, as you can see in the following image:
What should I do to enhance the readability and clarity of my data with Seaborn?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…