You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cheatsheets comment the method "ax.set_[xy]ticks(rotation=90)" to rotate ticks. However, it can cause confusion because the parameter "takes effect only if you pass labels"(official tutorial of ax.set_[xy]ticks(). So this is a incomplete form and not recommended.
As the official tutorial says, I suggest ax.tick_params(axis='x', rotation=90).