Adjusting date tick settings on seaborn lineplot
I'm experiencing crowding on my x-axis when using lineplot in seaborn. I initially plotted the data with the following: import pandas as pd import matplotlib matplotlib.use('TkAgg') import seaborn as sns for state in states_list: starting_point = state_covid_data[(state_covid_data.cases > 9) & (state_covid_data.state == state)] plot = sns.lineplot(data=starting_point, x='date', y='cases') plot Here is the output: To try and fix the crowding, I adjusted my code as follows from the recommendation in this answer: for state in states_list: starting_point = state_covid_data[(state_covid_data.cases
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.