# How to serve a PlotlyJS.jl plot using Mux?

**URL:** <https://discourse.julialang.org/t/how-to-serve-a-plotlyjs-jl-plot-using-mux/40422>\
**Category:** New to Julia\
**Created:** [May 29, 2020, 3:32pm UTC](https://discourse.julialang.org/t/how-to-serve-a-plotlyjs-jl-plot-using-mux/40422 "2020-05-29T15:32:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robsmith11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robsmith11/32/29641_2.png) [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Post date:** [May 29, 2020, 3:32pm UTC](https://discourse.julialang.org/t/how-to-serve-a-plotlyjs-jl-plot-using-mux/40422/1 "2020-05-29T15:32:36Z")

</div>

I run Julia on a remote server, so I’d like to use my browser to view plots rather than Blink.jl.

I filed an issue for PlotlyJS.jl because I think a simple example of what should be a common use-case would be a valuable addition to the documentation, but perhaps this forum is a better place to ask:

> <https://github.com/JuliaPlots/PlotlyJS.jl/issues/329>
>
> I've read through the tutorial, but am struggling to get a plot to display in my… browser. I run Julia on a remote server, so I'd like it to be served via an HTTP server. The documentation for PlotlyJS.jl mentions that this should be easy to do with WebIO and Mux, but doesn't say how.
> 
> From googling, it looks like I should use the \`webio\_serve\` function, but the function doesn't have any documentation and its signature doesn't specify the argument type. How do I take a Plot or SyncPlot and wrap it in something that Mux can serve?
