# Extract a \`PlotlyJS.Plot\` object from \`Plots.Plot\`

**URL:** <https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362>\
**Category:** General Usage\
**Tags:** plots, plotlyjs\
**Created:** [September 18, 2021, 6:11am UTC](https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362 "2021-09-18T06:11:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 18, 2021, 6:11am UTC](https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362/1 "2021-09-18T06:11:09Z")

</div>

Hi,

I’m looking forward to how to use Dash.jl conveniently.  
For interactive plotting, I found that `PlotlyJS.Plot` object should be returned in a callback of Dash.jl  
like [this examples](https://dash-julia.plotly.com/basic-callbacks).  
And I’m familiar with Plots.jl so I’d like to keep using the APIs of Plots.jl.  
So is there any way of extracting `PlotlyJS.Plot` object from `Plots.Plot` object?

---

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 18, 2021, 6:56am UTC](https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362/3 "2021-09-18T06:56:15Z")

</div>

See [backend\_object(plt::Plot)](https://github.com/JuliaPlots/Plots.jl/blob/master/src/plot.jl#L250).
