# PlotlyJS vs Plots+plotlyjs()

**URL:** <https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [September 7, 2020, 7:08am UTC](https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179 "2020-09-07T07:08:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [September 19, 2020, 2:26am UTC](https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179/6 "2020-09-19T02:26:44Z")

</div>

I got the resizing working to some extent while the program is running using

```julia
w = pl.window
ws = size(w)
relayout!(pl, Dict(:width=>ws[1], :height=>ws[2]))

```

Somehow it doesn’t seem the right way to go though.  
Given that it only works while the window is actively controlled from Julia.

---

_[View the full topic](https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179)._
