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

Simpler way to fix use with Interact in IJulia on page refresh #92

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

JobJob
Copy link
Contributor

@JobJob JobJob commented Nov 1, 2016

See JuliaGizmos/Interact.jl#115 for more context

Tl;dr: on page refresh the Jupyter front end clears all registered comms, so the _ijulia_eval_comm held by PlotlyJS becomes stale. This change ensures a new global Comm is created every time JupiterDisplay is called, which stops the old Comm from becoming stale on page refresh.

@sglyon
Copy link
Member

sglyon commented Nov 1, 2016

Excellent, I like this change.

Thanks for re-working it

@sglyon sglyon merged commit 88f6a76 into JuliaPlots:master Nov 2, 2016
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

Successfully merging this pull request may close these issues.

2 participants