跳转到主要内容

将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 (2.3 kB 查看哈希值)

上传时间:

支持者:

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面