Skip to main content

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)

Source distribution for fig2pen 0.4.0
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

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page