Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rotate labels matplotlib

xticks(rotation=45) # rotate x-axis labels by 45 degrees.
yticks(rotation=90) # rotate y-axis labels by 90 degrees.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rotate #labels #matplotlib
ADD COMMENT
Topic
Name
2+8 =