paperplotlib
本项目还处于早期开发阶段, 欢迎反馈建议
paperplotlib 是基于 matplotlib 的论文实验数据绘图库, 意在快速绘制论文实验结果部分中常见的柱状图/折线图
本库提供了一组 论文实验数据图的默认样式, 以及一组相对简洁的 API 调用
安装
pip install paperplotlib
快速开始
import paperplotlib as ppl
import numpy as np
# 随机生成一个 5 x 7 的数据
a = 5
b = 7
y = np.random.randint(10, 100, size=(a, b))
# 初始化一个对象
graph = ppl.BarGraph()
# 传入数据/组/列的文字信息
group_names = [f"group {i}" for i in range(a)]
column_names = [f"column {i}" for i in range(b)]
graph.plot_2d(y, group_names, column_names)
# 调整x/y轴文字
graph.x_label = "The number of data"
graph.y_label = "Throughput (Mbps)"
# 保存图片
graph.save()
使用文档
视频介绍: 【项目分享】论文实验数据绘图
更多使用说明请参考: paperplotlib 使用文档
参考
Metadata
Release files for paperplotlib 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paperplotlib-0.0.7.tar.gz | 67.8 kB | Without provenance | Details for paperplotlib-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paperplotlib-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for paperplotlib-0.0.7-py3-none-any.whl |
Total release size: 136.8 kB
Release files / paperplotlib-0.0.7.tar.gz
| Download URL | paperplotlib-0.0.7.tar.gz |
|---|---|
| Size | 67.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fd458199fefc85256adffb31f80fd001c0ca5c7b392eba1532d537afb268a63
|
|
BLAKE2b-256 checksum How to use checksums |
3fd5e3387c927cecec5a2749a6f62f08ffb21cb0a309848d70b6715455fa0f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.9 Windows/10
|
Release files / paperplotlib-0.0.7-py3-none-any.whl
| Download URL | paperplotlib-0.0.7-py3-none-any.whl |
|---|---|
| Size | 69.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6b36bd62d028af5b074f827de8c6f91de82a3ddd14514a22a8eefc420c380ad
|
|
BLAKE2b-256 checksum How to use checksums |
67ea124ae1070b21b84ce4ed4e015ff39d3b9a192415268a9255b769632b999e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.9 Windows/10
|
Security for paperplotlib 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.