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

Share x axis #1

Open
dscso opened this issue Mar 4, 2024 · 1 comment
Open

Share x axis #1

dscso opened this issue Mar 4, 2024 · 1 comment

Comments

@dscso
Copy link

dscso commented Mar 4, 2024

Is there an elegant way of sharing the x axis:
image
like so:
https://matplotlib.org/stable/gallery/subplots_axes_and_figures/shared_axis_demo.html

@dscso dscso changed the title Share x Axis Share x axis Mar 4, 2024
@johannes-wolf
Copy link
Member

johannes-wolf commented Mar 4, 2024

This is currently not possible, as there is no way of getting a plot's axes from the outside.
All you can currently do is use x-min: ... and x-max: ... on both of your pots, but I guess this is not what you want.

@johannes-wolf johannes-wolf transferred this issue from cetz-package/cetz Jun 12, 2024
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