Skip to main content

CPR可视化工具包 - 基于Plotly和Matplotlib的圈点圆可视化Python工具包

Project description

CPR可视化工具包

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

功能特点

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

安装

pip install cprdspy

快速开始

from cprdspy.CPR_matplotlib import *
flowers_mpl()
from cprdspy.CPR_matplotlib import *
oval_flower_mpl()
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! 欢迎贡献!请随时提交问题或拉取请求。

  1. Fork仓库
  2. 创建您的特性分支 (git checkout -b feature/amazing-feature)
  3. 提交您的更改 (git commit -m 'Add some amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 打开一个拉取请求

联系方式

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

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.4.tar.gz (53.6 kB 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.4-py3-none-any.whl (76.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cprdspy-0.2.4.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for cprdspy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 836e93b008c702680218971ddae70ba6726d0978da292e0b9747f8e7a364e553
MD5 5f6104ce6bb6e501dfeaa27388f06a68
BLAKE2b-256 44bf03d5142a5f692d30ed05426bcea7fbf90f6661ed221beaf7896c8fe91779

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cprdspy-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 76.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for cprdspy-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dec23182dad1a349d6e00fb883c794162d55d1d90062dda88dc0ab7e77599403
MD5 8ddacbfbe9e39a5f0b2591e897326f33
BLAKE2b-256 29fd4fca76d8c7dea9abfb00520c0aa7562a13e41aee1b00b61ee38b9aa09132

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