Interactive line plots in documentation

What are options for embedding interactive line plots in a Documenter.jl page?
I think it has to be some kind of JS.

  • Export HTML with Bokeh.jl and embed it via an iframe. Bokeh.doc_standalone_html
  • Export HTML with PlotlyJS.jl and embed it via an iframe.
  • With WGLMakie.jl and Bonito.jl. This example shows how to export to plotly, gadfly and WGLMakie: Plotting · Bonito

How is that example suggesting its PlotlyJS?
It shows a Plotly, Gadfly and WGLMakie plot (the surface plot).

1 Like

Ah sry, my bad. Only noticed Plotly and assumed all are. I updated my original post.

Is the WGLMakie.jl output static though? Here WGLMakie | Makie it states

As you can see, the output is completely static, because we don’t have a running Julia server, as would be the case with e.g. Pluto. To make the plot interactive, we will need to write more parts of WGLMakie in JS, which is an ongoing effort. As you can see, the interactivity already keeps working for 3D.

Are there any news on lines and scatter plots?

Is the WGLMakie.jl output static though?

Its 3D, so no its not completely static :wink: Nothing much has changed yet for 2D plots.