jupyterlab-chart-editor
A JupyterLab extension for creating and editing Plotly charts
Last updated 2 months ago by nicolaskruchten .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jupyterlab-chart-editor 
SYNC missed versions from official npm registry.

jupyterlab-chart-editor

Binder

A JupyterLab extension for editing Plotly charts, based on https://github.com/plotly/react-chart-editor

Prerequisites

Install

jupyter labextension install jupyterlab-chart-editor

Usage

Create and display a figure

import plotly.graph_objs as go
import plotly.io as pio

fig = go.Figure()
fig.add_scatter(y=[2, 4, 3, 2.5])
fig.show()

Write figure to JSON

pio.write_json(fig, 'scatter.plotly')

Right-click scatter.plotly from the file menu and open with "Plotly Editor". Make some changes to the figure, then use the file menu to save as scatter-styled.plotly.

Then import scatter-styled.plotly back into plotly.py

fig_styled = pio.read_json('scatter-styled.plotly')
fig_styled

Uninstall

jupyter labextension uninstall jupyterlab-chart-editor

Current Tags

  • 4.10.0                                ...           latest (2 months ago)

11 Versions

  • 4.10.0                                ...           2 months ago
  • 4.9.0                                ...           4 months ago
  • 4.8.2                                ...           5 months ago
  • 4.7.1                                ...           6 months ago
  • 4.6.0                                ...           8 months ago
  • 1.3.0                                ...           10 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 101
Last Day 7
Last Week 36
Last Month 99
Dependencies (7)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |