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

Feature Request: Add julia API to modify existing plots shown in different cells #8

Open
disberd opened this issue Jun 17, 2022 · 0 comments

Comments

@disberd
Copy link
Member

disberd commented Jun 17, 2022

Modifying existing plots from different cells and from the JS side is useful many times, especially if the plot is outputting some variable that is bound on julia using @bind.

Modifying the plot via JS does not trigger a @bind reset and so is preferable.

Main idea to do this is to add a flag to the PlutoPlot object (default to true) that enforces probably via the plot id in JS that this plot is only rendered once. This way one can pass the julia plot object to a julia function and be sure that not more than one plot exists for that specific julia object.

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

No branches or pull requests

1 participant