-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
QST: use and breadth of x_compat=True
#45367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not sure I understand the question - doesn't |
Thanks for your question! Well I may be misunderstanding. Here's what I thought happened: with Setting I'm currently setting the rotation to 0 inside the plot call, but I would have liked for it to have been a default. Not a big deal. |
I think You could start looking through #2205 and 8d45dc4 for more info Anyway, regardless of the design decision which was taken 10 years ago, it's probably not worth changing this now |
The label's orientation feels like something distinct from the locator/formatter, maybe similar to the choice of font type and size. That's why I expected to be able to control it as a style, rather than within the call to plot. But yes, I'll just forget about this. |
Research
I have searched the [pandas] tag on StackOverflow for similar questions.
I have asked my usage related question on StackOverflow.
Link to question on StackOverflow
https://stackoverflow.com/questions/70707996/matplotlib-horizontal-labels-as-style?noredirect=1#comment125004119_70707996
Question about pandas
If I understand correctly,
x_compat=True
allows one to have access tomatplotlib
's date formatters and disables some ofpandas
's date formatting. However, it has no effect onrotation
(orrot
in pandas parlance). My question is whether one would expectx_compat=True
to also disable the rotation (that is, set it to0
). In other words, I'm not clear on how much of the date formattingx_compat=True
is expected to "return" to thematplotlib
default. Was it a design decision?The text was updated successfully, but these errors were encountered: