Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JuliaComputing/PlotlyLight.jl

Plotly.js via Julia made easy.
https://github.com/JuliaComputing/PlotlyLight.jl

data-viz julia plotlyjs plotting

Last synced: 14 days ago
JSON representation

Plotly.js via Julia made easy.

Awesome Lists containing this project

README

        

[![Build status](https://github.com/JuliaComputing/PlotlyLight.jl/workflows/CI/badge.svg)](https://github.com/JuliaComputing/PlotlyLight.jl/actions?query=workflow%3ACI+branch%3Amaster)
[![Codecov](https://codecov.io/gh/JuliaComputing/PlotlyLight.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaComputing/PlotlyLight.jl)

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](https://plotly.com/javascript/) directly. No magic syntax: Just [`JSON3.write`](https://github.com/quinnj/JSON3.jl).
- 📂 Set deeply-nested keys easily, e.g. `myplot.layout.xaxis.title.font.family = "Arial"`.
- 📊 The Same [built-in themes](https://plotly.com/python/templates/) as Plotly's python package.



## 🚀 Quickstart

```julia
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
```