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

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 details)

Uploaded Source

File details

Details for the file fig2pen-0.4.0.tar.gz.

File metadata

  • Download URL: fig2pen-0.4.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for fig2pen-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d36849fdf7cc27b7d56a118673f9e2cd0e30dc9c7cbcef35e56e9140c821191c
MD5 b94737e5a1b7e5f1e79210946b0fc345
BLAKE2b-256 a41352e92072a7dd198700fa078e01aa9ee9a904bd0c013cd363ecb23dbf9f6d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 file

0.3.0

1 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