marimo icon indicating copy to clipboard operation
marimo copied to clipboard

[charts] Copy altair / vega code

Open Light2Dark opened this issue 7 months ago • 0 comments

Description

Ref: https://github.com/marimo-team/marimo/issues/4585#issuecomment-2842089155

It would be useful to copy altair code based on the configuration set up in chart editor.

Suggested solution

Create a new altair code generator.

Alternative

use altair.Chart.from_json but this is not as useful

Additional context

No response

Light2Dark avatar Apr 30 '25 14:04 Light2Dark