Skip to content
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

subplot_grid with custom axis labels? #1634

Open
hbsmith opened this issue Aug 5, 2024 · 2 comments
Open

subplot_grid with custom axis labels? #1634

hbsmith opened this issue Aug 5, 2024 · 2 comments

Comments

@hbsmith
Copy link

hbsmith commented Aug 5, 2024

Is it possible to customize the axis labels of individual subplots when a plot is constructed using subplot_grid? I can't for the life of me figure out how to make the subplots render different custom individual axis labels (e.g. different ylabels in the case where there is a ygroup).

@Mattriks
Copy link
Member

Mattriks commented Aug 8, 2024

Hi sorry for the delay. There's examples in #1310 and #1424 which probably don't do exactly what you want, but may help. Also see this example in the docs: Scale.xgroup, Scale.ygroup. Note all the discrete scales should have these args e.g. Scale.shape_discrete(labels= , levels= , order= )

@hbsmith
Copy link
Author

hbsmith commented Aug 9, 2024

No worries, you responded quickly! Thanks for the hint about the discrete scales. I will give that a shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants