Welcome to the documentation for PlotlyJS.jl, a Julia interface to the plotly.js visualization library.

This package does not interact with the Plotly web API, but rather leverages the underlying javascript library to construct plotly graphics using all local resources. This means you do not need a Plotly account or an internet connection to use this package.

The goals of PlotlyJS.jl are:

  1. Make it convenient to construct and manipulate plotly visualizations
  2. 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"PlotlyJS") to tell Julia to download the latest release of the plotly.js javascript library.

Note that you can also run if you wish to update the javascript 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

Saving figures

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 by Plots.