PlotlyLight.jl
PlotlyLight.jl copied to clipboard
Plotly.js via Julia made easy.
PlotlyLight
PlotlyLight is an ultra-lightweight interface for working with Plotly.js.
✨ Features
- 🚀 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.
🚀 Quickstart
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