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

Add options/improve behavior for overlapping axis interactivity #4700

Open
oscarvdvelde opened this issue Jan 3, 2025 · 0 comments
Open
Labels
enhancement Feature requests and enhancements

Comments

@oscarvdvelde
Copy link

Feature description

In this thread https://discourse.julialang.org/t/makie-swapping-plots-un-hiding-decorations-loading-existing-plot-objects-into-axes/118922/3
it was indicated by jules that axis events do remain active for axes currently hidden.
--> It will be good to restrict interactivity only to the non-hidden axis, or perhaps a manually selected axis (like the axis.blockscene.visible[] but for interactions)

Similarly, if we add a menu in the upper right corner of a subplot, e.g. to control what type of figure is shown, opening this menu will start a rectangle zoom procedure that cannot be properly ended. The rectangle zoom may be a valid and desirable interaction in the shown axis, but should be restricted to locations not occupied by menus, buttons or toggles inside the subplot area.
--> Menus, buttons and toggles should block other interactivity just in the space they take up.

@oscarvdvelde oscarvdvelde added the enhancement Feature requests and enhancements label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant