Skip to content

fix: if matplotlib was imported before solara, we set the backend#741

Merged
maartenbreddels merged 1 commit intomasterfrom
fix_matplotlib_backend_early_import
Aug 20, 2024
Merged

fix: if matplotlib was imported before solara, we set the backend#741
maartenbreddels merged 1 commit intomasterfrom
fix_matplotlib_backend_early_import

Conversation

@maartenbreddels
Copy link
Copy Markdown
Contributor

Normally, setting MPLBACKEND will set the backend because importing matplotlib will set the backend based on this environment variable. However, in the case where matplotlib is imported before solara, such as jdaviz is doing, we need to set the backend manually.

Related: spacetelescope/jdaviz#2909

Normally, setting MPLBACKEND will set the backend because importing
matplotlib will set the backend based on this environment variable.
However, in the case where matplotlib is imported before solara,
such as jdaviz is doing, we need to set the backend manually.

Related: spacetelescope/jdaviz#2909
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

Successfully merging this pull request may close these issues.

1 participant