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

fix: close matplotlib figures in app.run() #1215

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Conversation

akshayka
Copy link
Contributor

@akshayka akshayka commented Apr 24, 2024

Each cell gets a fresh figure, just like in edit mode. Without this using the imperative api makes all plots share the same object.

Fixes one of the issues in #1142

Each cell gets a fresh figure, just like in edit mode. Without this
using the imperative api makes all plots share the same object.
@akshayka akshayka requested a review from mscolnick April 24, 2024 18:32
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 6:51pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 6:51pm

@akshayka akshayka merged commit 51d854a into main Apr 24, 2024
29 checks passed
@akshayka akshayka deleted the aka/fix-app-run-mpl branch April 24, 2024 19:42
Copy link

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.4.4-dev10

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.

None yet

2 participants