Answers for "how to tilt xticks"

3

matplotlib x label rotation

plt.xticks(rotation=45)
Posted by: Guest on May-11-2020
1

rotate xticks matplotlib

# rotate xticks of a plot Matplotlib
angle = 90
plt.xticks(rotation=angle)
Posted by: Guest on May-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language