python - How to increase yaxis on seaborn stripplot -
i trying increase number of y-ticks stripplot.
my code is:
g = sns.stripplot(data=flightdelays,x="delay", y="schedtime", jitter=true, size=10)
i understand cannot alter y-axis using available commands within stripplot.
the y-axis scheduled time in 24-hour form. able show me how set yticks every 100 i.e. every hour?
the seaborn plot returns instance of matplotlib axes object, means matplotlib axes function can called. solution here is:
g.set_ylim([min,max])
Comments
Post a Comment