A utility to make CodePens out of Plotly.py figures
Project description
fig2pen
Installation
pip install -U fig2pen
Usage
import fig2pen
fig2pen.single(fig)
fig2pen.react_multi([fig_state1, fig_state2])
# default behaviour is to erase fig.layout.template
fig2pen.single(fig, template=True) # don't strip out layout.template
# default Plotly.js version is the same one as is built into active Plotly.py
fig2pen.single(fig, cdn_version="1.58.4") # use specific JS version
fig2pen.single(fig, branch="plotly.js_branch_name") # use specifc CircleCI artifact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fig2pen-0.4.0.tar.gz
(2.3 kB
view hashes)