Skip to content

improvement: export mo.mpl.interactive as PNG, and altair as json spec when running#7874

Merged
mscolnick merged 6 commits intomainfrom
ms/repr-png-for-mpl
Jan 20, 2026
Merged

improvement: export mo.mpl.interactive as PNG, and altair as json spec when running#7874
mscolnick merged 6 commits intomainfrom
ms/repr-png-for-mpl

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Jan 16, 2026

This improves the marimo exoprt ipynb command such that when exporting to IPYNB we:

  • convert mo.mpl.interactive to a PNG
  • export altair charts as their vega spec (instead of wrapped in marimo-altair
  • export plotly as the plotly html
@mscolnick mscolnick requested a review from akshayka as a code owner January 16, 2026 18:25
@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jan 20, 2026 3:50pm

Request Review

Copy link
Contributor

@akshayka akshayka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like CLI snapshot tests are failing but otherwise LGTM, nice

Light2Dark
Light2Dark previously approved these changes Jan 20, 2026
@mscolnick mscolnick merged commit 20cc65e into main Jan 20, 2026
63 of 70 checks passed
@mscolnick mscolnick deleted the ms/repr-png-for-mpl branch January 20, 2026 16:33
@github-actions
Copy link

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

botterYosuke pushed a commit to botterYosuke/marimo that referenced this pull request Jan 21, 2026
…c when running (marimo-team#7874)

This improves the `marimo exoprt ipynb` command such that when exporting
to IPYNB we:
- convert `mo.mpl.interactive` to a PNG
- export altair charts as their vega spec (instead of wrapped in
marimo-altair
- export plotly as the plotly html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bash-focus Area to focus on during release bug bash documentation Improvements or additions to documentation enhancement New feature or request

3 participants