-
Notifications
You must be signed in to change notification settings - Fork 59
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
Titles in X and Y axis #25
Comments
There's no easy way - but to work on the "global" axis, you should consider the last of the axes returned by joyplot(), i.e., Quick (and ugly) example: %matplotlib inline
import joypy
import pandas as pd
from matplotlib import pyplot as plt
iris = pd.read_csv("data/iris.csv")
fig, axes = joypy.joyplot(iris)
ax = axes[-1]
ax.yaxis.set_label_position("right")
ax.set_ylabel("TestLabel")
ax.yaxis.set_visible(True)
ax.yaxis.set_ticks([]) |
Awesome! That's a great idea, thanks! |
You're welcome. |
Hi, I have a question about Y labels and believe this functionality exists, but I cannot get it right. E.g.: I can put Y axis labels on every subplot something like this:
This creates a label for every density plot. Can I somehow add a "global" Y axis label, instead of a Y axis label for every subplot. I suppose I can do that by providing an
ax
argument tojoyploy
, but it does not seem to work.Thanks for your help,
Simon
The text was updated successfully, but these errors were encountered: