I am working on a data science project, and as I am fairly new I need some help when it comes to customzing my plots. Just a quick intro, I am working on a analysis of a dataset from Las Vegas car crashes. Here are the problems I am facing.
Countplot for crash severity In the first image I would need to increase the size of the graph so the text on the x variable is visible. The code for the plot:
sns.catplot(x="Crash_Seve", kind="count", data=df);
sns.set(style="darkgrid")
plt.title("Types of Crash Severity in Las Vegas car crashes")
plt.show()
Boxplots comparing speed of two drivers Here I would also need to increase the size so the graphs are more visible, I tried something which you can see but whatever I type in the size the graph does not increase. I would also like to plot these box plots through seaborn or matplotlib so they are a bit prettier. They both come from two different columns but have the same interpretation mph of a drive, which means both are numeric. Thank you for the input
boxplot = df.boxplot(column=['V1_Driver_', 'V2_Driver_'])
plt.title("Speed of both drivers")
figure(num=None, figsize=(40, 20), dpi=160, facecolor='w', edgecolor='k')
plt.show()