github marimo-team/marimo 0.20.2

6 hours ago

This release improves the experience of imperatively writing output with mo.Threads, and also includes an important bug fix for mo.ui.matplotlib selection.

⭐️ Highlights

Write to a single cell's output with multiple threads

It is now possible for multiple mo.Thread objects to write to a single cell's output area using mo.output.append().

Communicate progress to the user with a thread-safe progress bar

mo.status.progress_bar is now thread-safe, making it possible for multiple mo.Thread objects (started in the same cell) to update a single progress bar. This lets you communicate progress to the user when multiple threads are sharding work. (Example notebook.)

image

🐛 Bug fixes

  • Fix mo.ui.matplotlib pixel bounds calcuation (#8419)
  • Make threads share their accumulated output (#8418)
  • Copy ExecutionContext.output to marimo.Thread (#8413)

📚 Documentation

  • Fix incorrect data sources panel reference in SQL tutorial (#8422)
  • Interrupt a progress bar (#8406)
  • Add mo.ui.matplotlib to API inputs documentation (#8394)

Contributors

Thanks to all our community and contributors who made this release possible: @akshayka, @coastalwhite, @icholy, @manzt

And especially to our new contributors:

Full Changelog: 0.20.1...0.20.2

Don't miss a new marimo release

NewReleases is sending notifications on new releases.