PlotlyLight is an ultra-lightweight interface for working with Plotly.js.
Important
The PlotlyLight docs will not teach you how to use the Plotly.js library. If you are new to Plotly.js, you may want to start with the official documentation.
- 🚀 Fastest time-to-first-plot in Julia!
- 🌐 Use the Plotly.js Javascript documentation directly. No magic syntax: Just
JSON3.write
. - 📂 Set deeply-nested keys easily, e.g.
myplot.layout.xaxis.title.font.family = "Arial"
. - 📊 The Same built-in themes as Plotly's python package.
using PlotlyLight
preset.template.plotly_dark!() # Change template
p = plot(x = 1:20, y = cumsum(randn(20)), type="scatter", mode="lines+markers") # Make plot
p.layout.title.text = "My Title!" # Make changes
p # `display(p)` to see the updated plot