Skip to main content

CPR可视化创意包

Project description

CPR可视化工具包

一个用于CPR(圈点圆)可视化的Python工具包,基于Plotly构建。

功能特点

  • 实时CPR波形可视化
  • 种类繁多的花形可视化
  • 交互式数据展示
  • 自定义图表样式
  • 导出图片功能

安装

pip install cprdspy

快速开始

from cprdspy import wave_circle_geometric


# 创建可视化器实例
fig=wave_circle_geometric(1.2, 2, 12)

# 显示波形
fig.show()
from cprdspy import config, set_theme,flowers_flower_by_petal_multi

# 设置主题
set_theme("dark")

# 自定义配置
config.line_width = 3
config.opacity = 0.8
# config.show_grid = True
# config.show_legend = False
# config.show_axis = False    
config.axis_mirror = False
# 绘图时应用配置
fig = flowers_flower_by_petal_multi(
    [0, 0], 1, 1, 4, np.sqrt(2), 3, 12, color="red", width=2, opacity=0.5
)
config.apply_to_figure(fig)
fig.update_layout(xaxis=dict(visible=False), yaxis=dict(visible=False))

文档

详细的文档请访问:文档链接

许可证

本项目采用 MIT 许可证 - 详见 LICENSE 文件

贡献

欢迎提交 Pull Request 或创建 Issue!

联系方式

如有问题,请通过以下方式联系我们:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cprdspy-0.2.1.tar.gz (48.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cprdspy-0.2.1-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file cprdspy-0.2.1.tar.gz.

File metadata

  • Download URL: cprdspy-0.2.1.tar.gz
  • Upload date:
  • Size: 48.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for cprdspy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9fe6887bb0af5256caff6c59bbc9d90633fcb2b8b3593b789882f728f5874c4f
MD5 468ef26fb61bbf250dd5c435da0b791b
BLAKE2b-256 5d668c37100baf08f13e45190821bf8c43af5ca7f71d6831a1afada241a08d28

See more details on using hashes here.

File details

Details for the file cprdspy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cprdspy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for cprdspy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c141e6b15430eeed4a6337cb832c93fa464cb29d65aeaa1d5f7e3b818e1ce8c
MD5 0309470a759549dc48662b0d9887aaab
BLAKE2b-256 cfb2b76d986b7acb87af99f02f934b46631d224bc5e0d0fa683b490769b6b0a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page