Skip to content

Commit 02aa721

Browse files
authored
Merge pull request #115 from StefRe/rotate
Improve tick label rotation method
2 parents 7735701 + c461609 commit 02aa721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cheatsheets.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@
977977
\textbf{… remove tick labels ?}\\
978978
\hspace*{2.5mm}~$\rightarrow$ ax.set\_[xy]ticklabels([])\\
979979
\textbf{… rotate tick labels ?}\\
980-
\hspace*{2.5mm}~$\rightarrow$ ax.set\_[xy]ticks(rotation=90)\\
980+
\hspace*{2.5mm}~$\rightarrow$ ax.tick\_params(axis="x", rotation=90)\\
981981
\textbf{… hide top spine?}\\
982982
\hspace*{2.5mm}~$\rightarrow$ ax.spines['top'].set\_visible(False)\\
983983
\textbf{… hide legend border?}\\

0 commit comments

Comments
 (0)