# Construct Plots.Plot object from a figure object of a backend, e.g., PlotlyJS.Plot

**URL:** <https://discourse.julialang.org/t/construct-plots-plot-object-from-a-figure-object-of-a-backend-e-g-plotlyjs-plot/68407>\
**Category:** General Usage\
**Tags:** plots, plotlyjs\
**Created:** [September 19, 2021, 12:03pm UTC](https://discourse.julialang.org/t/construct-plots-plot-object-from-a-figure-object-of-a-backend-e-g-plotlyjs-plot/68407 "2021-09-19T12:03:58Z")\
**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 19, 2021, 12:03pm UTC](https://discourse.julialang.org/t/construct-plots-plot-object-from-a-figure-object-of-a-backend-e-g-plotlyjs-plot/68407/1 "2021-09-19T12:03:58Z")

</div>

Hi,

I wonder if it’s possible to construct a Plots.Plot object from a PlotlyJS.Plot object or other backend’s Plot object 🙂

For example,

```julia
_fig = PlotlyJS.Plot(...)
fig = construct_from_plotlyjs(_fig) # typeof(fig) == Plots.Plot

```

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [September 20, 2021, 5:19am UTC](https://discourse.julialang.org/t/construct-plots-plot-object-from-a-figure-object-of-a-backend-e-g-plotlyjs-plot/68407/2 "2021-09-20T05:19:10Z")

</div>

That looks [like](https://en.m.wikipedia.org/wiki/File:Missionimpossibleblurayboxset.jpg)…

…but might be not, please [check API here](http://juliaplots.org/PlotlyJS.jl/stable/manipulating_plots/#Julia-functions).
