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

use %matplotlib widget by default #407

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

BenWibking
Copy link
Contributor

@BenWibking BenWibking commented Dec 19, 2023

This is necessary even with Jupyter Notebook, not just Jupyterlab. See comment: openPMD/openPMD-api#1572 (comment).

The matplotlib documentation suggests this rendering backend will work in all modern versions of Jupyter Notebook and Jupyterlab: https://matplotlib.org/stable/users/explain/figure/interactive.html#jupyter-notebooks-jupyterlab.

Fixes openPMD/openPMD-api#1572.

This is necessary even with Jupyter Notebook, not just Jupyterlab.
@RemiLehe RemiLehe merged commit b63b580 into openPMD:dev Dec 20, 2023
1 check passed
@RemiLehe
Copy link
Member

Thanks a lot for fixing this!

@BenWibking BenWibking deleted the patch-1 branch December 20, 2023 16:47
@ax3l ax3l added the bug label Jan 4, 2024
@ax3l
Copy link
Member

ax3l commented Jan 4, 2024

Thank you!

I think we need to fix this comment as well:

"case, switch to `%matplotlib notebook` and restart the notebook.")

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

Successfully merging this pull request may close these issues.

no rendering using interactive openPMD-viewer
3 participants