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
Metadata
Release files for fig2pen 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fig2pen-0.4.0.tar.gz | 2.3 kB | Details |
Release files / fig2pen-0.4.0.tar.gz
| Download URL | fig2pen-0.4.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d36849fdf7cc27b7d56a118673f9e2cd0e30dc9c7cbcef35e56e9140c821191c
|
|
BLAKE2b-256 checksum How to use checksums |
a41352e92072a7dd198700fa078e01aa9ee9a904bd0c013cd363ecb23dbf9f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7
|