# Persistent plotly in IJulia

**URL:** <https://discourse.julialang.org/t/persistent-plotly-in-ijulia/37225>\
**Category:** Visualization\
**Created:** [April 8, 2020, 9:00am UTC](https://discourse.julialang.org/t/persistent-plotly-in-ijulia/37225 "2020-04-08T09:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isentropic](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/isentropic/32/11894_2.png) [@isentropic](https://discourse.julialang.org/u/isentropic)\
**Post date:** [April 8, 2020, 9:00am UTC](https://discourse.julialang.org/t/persistent-plotly-in-ijulia/37225/1 "2020-04-08T09:00:00Z")

</div>

How can I have Plots.jl plotlyjs backend draw persistent figures in Jupyter notebooks?That is, when a session ends and jupyter is turned off, after coming back to the notebook, the plots produced by plotlyjs disappear.  
One solution I found is to rerun `using Plots.jl; plotlyjs()` and reload the notebook.This feels like a hack, is there a solution that does not require me rerunning the notebook and `using Plots.jl; plotlyjs()` ?

Vegalite, for some reason leaves persistent html plots

Installing jupyter plotly extension does not seem to help

This issue persists with both plotly and plotlyjs
