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

Rewrite figure layout engine using new matplotlib features #66

Open
Cadair opened this issue Nov 1, 2024 · 0 comments
Open

Rewrite figure layout engine using new matplotlib features #66

Cadair opened this issue Nov 1, 2024 · 0 comments

Comments

@Cadair
Copy link
Member

Cadair commented Nov 1, 2024

Provide a general description of the issue or problem.

Since this package was written many years ago two new relevant new things have been added to matplotlib, which could significantly simplfy and also enhance how we layout the figures.

Firstly is subfigures https://matplotlib.org/devdocs/gallery/subplots_axes_and_figures/subfigures.html if we replaced the main plotting axes with a sub figure then subclasses of the base class could make much more complex plots to be animated, such as animating a group of subplots.

Secondly the new subplot_mosaic functionality (https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.subplot_mosaic.html) has the potential to simplify how we layout the sliders and controls at the bottom of the figure.

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

1 participant