Rotate column labels #412
Unanswered
david-waterworth
asked this question in
Q&A
Replies: 1 comment
-
@david-waterworth , you could try adding some custom CSS like the code below: import polars as pl
from great_tables import GT, html
(
GT(pl.DataFrame({"longish": [1, 2]}))
.cols_label(longish=html('<h3 style="transform: rotate(90deg);">longish</h3>'))
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to rotate column labels by 90 degrees? I have a large pivot table and both the row and col labels are longish (and the values a single digit counts or "-" (Null) so to make it somewhat more readable I'd like to rotate the column labels?
Beta Was this translation helpful? Give feedback.
All reactions