Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.84 KB

File metadata and controls

42 lines (26 loc) · 1.84 KB

Build Docs Build Codecov

PlotlyLight

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.



✨ Features

  • 🚀 Fastest time-to-first-plot in Julia!
  • 🌐 Use the Plotly.js Javascript documentation directly. No magic syntax.
  • 📂 Set deeply-nested keys easily, e.g. myplot.layout.xaxis.title.font.family = "Arial".
  • 📊 The Same built-in themes as Plotly's python package.
  • 🗜️ Use PlotlyLight.preset.display.compress!() to automatically compress large arrays and produce plots that download and display faster.



🚀 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