Skip to content

JuliaComputing/PlotlyLight.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Codecov

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