Skip to content

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Oct 28, 2025

This change make it so mo.ui.altair_chart no longer mutates the given chart. This also provides a fallback for when our changes to the width affect the change in such a way that chart.to_dict() starts to fail.

Fixes #6244

This change make it so `mo.ui.altair_chart` no longer mutates the given chart. This also provides a fallback for when our changes to the width affect the change in such a way that `chart.to_dict()` starts to fail.
@vercel
Copy link

vercel bot commented Oct 28, 2025

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

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 29, 2025 1:27am

dmadisetti
dmadisetti previously approved these changes Oct 28, 2025
Light2Dark
Light2Dark previously approved these changes Oct 29, 2025
Copy link
Contributor

@Light2Dark Light2Dark left a comment

Choose a reason for hiding this comment

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

thanks for making the fix. one of the test is failing because it incorrectly checks if the chart has mutated.

@mscolnick mscolnick dismissed stale reviews from Light2Dark and dmadisetti via 623fa5a October 29, 2025 01:26
@mscolnick mscolnick merged commit e6433bc into main Oct 29, 2025
34 of 41 checks passed
@mscolnick mscolnick deleted the ms/upset branch October 29, 2025 02:02
@mscolnick mscolnick added the bug Something isn't working label Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in mo.ui.altair_chart for some charts

4 participants