将Plotly.py图形转换为CodePens的小工具
项目描述
fig2pen
安装
pip install -U fig2pen
用法
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
项目详情
关闭
fig2pen-0.4.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | d36849fdf7cc27b7d56a118673f9e2cd0e30dc9c7cbcef35e56e9140c821191c |
|
MD5 | b94737e5a1b7e5f1e79210946b0fc345 |
|
BLAKE2b-256 | a41352e92072a7dd198700fa078e01aa9ee9a904bd0c013cd363ecb23dbf9f6d |