-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
secondary_y not always working #9620
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
Should be helped by #9321 which will clarify what is / isn't supported. I'm not sure that I'd recommend transforming your data before plotting. |
I suppose if the secondary axis is tied to having a legend then the current implementation makes sense, and more documentation/warning may help. I agree if there is no legend then there is no explicit way the person viewing the plot knows what is plotted against what, but I guess I wish it was hackable so I could do it anyway and then explain it in the figure description. Unfortunately for me, I can't transform the data as it's one of many plots I'll have for a publication and they all need to be the same style. Thanks for the help. |
Yeah, sorry to not be of more help. The only other thing I can think of is to append a There are certainly ways around this if you drop down to matplotlib though. I may have a chance later to take a crack at your SO questoin. |
See a SO question I asked that has the relevant information: http://stackoverflow.com/questions/28840036/pandas-secondary-y-axis-for-boxplots
Essentially, the
secondary_y
argument ofplot()
doesn't do anything for boxplots and several other plot types. It will work for line plots however.The text was updated successfully, but these errors were encountered: