Welcome to the documentation for PlotlyJS.jl, a Julia interface to the plotly.js visualization library.
The goals of PlotlyJS.jl are:
- Make it convenient to construct and manipulate plotly visualizations
- Provide infrastructure for viewing plots on multiple frontends and saving plotly graphics to files
To install PlotlyJS.jl enter the following at the Julia prompt:
For existing users you can run
Pkg.update() to get the latest release. If
after doing this plots do not show up in your chosen frontend, please run
Pkg.build("PlotlyJS") to tell Julia to download the latest release of the
Note that you can also run
library by itself.
This will download an install PlotlyJS and all dependencies. If you have not previously used the Blink.jl package and would like to use the Electron display frontend from the REPL (recommended) you will need to enter evaluate the following code at the REPL:
using Blink Blink.AtomShell.install()
If you would like to be able to save plotly graphics to png or pdf formats you will need additional packages. Please see the documentation on exporting figures for more information.
If you would like to have a more exhaustive set of top-level functions for
constructing plots, see the Plots.jl
package. This package is the
plotlyjs Plots.jl backend and is fully supported