Skip to main content

1

Project description

paperplotlib

paperplotlib 是基于 matplotlib 的论文实验数据绘图库, 意在快速绘制论文实验结果部分中常见的柱状图/折线图

本库提供了一组 论文实验数据图的默认样式, 以及一组相对简洁的 API 调用

一些绘制的示例代码和结果图见: paperplotlib 示例

安装与使用

pip install paperplotlib
import paperplotlib as ppl

x = [2, 4, 8, 16, 32]
y = [0.1, 0.5, 0.7, 0.9, 1.0]

graph = ppl.BarGraph()
graph.plot(x, y)
graph.x_label = "The number of data"
graph.y_label = "Throughput (Mbps)"

graph.save("test.png")

使用文档: paperplotlib document

参考

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

paperplotlib-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

paperplotlib-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file paperplotlib-0.0.1.tar.gz.

File metadata

  • Download URL: paperplotlib-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.9 Windows/10

File hashes

Hashes for paperplotlib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f41aaa90e76e9a673d1e4cc39f7aa93500a9efb33ce9f219a4de4590c39e063d
MD5 b5636abbbaa084d9eb579ed12b8885fe
BLAKE2b-256 57183fb710d227a2ac789a1d6b52f4b2b5a7460c733e614d865ef55f7defd3b4

See more details on using hashes here.

File details

Details for the file paperplotlib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: paperplotlib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.9 Windows/10

File hashes

Hashes for paperplotlib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35485487bcfafa27bde30221c79e2ca8a1973a1b4e8a0c0787ab91d1158a5e79
MD5 9f7b5bddb075a9c78879d2ebf0019e80
BLAKE2b-256 77e3a393c6cf559307bda987c391d4f91d49be5dc48c1389372be53d63ca894b

See more details on using hashes here.

Supported by

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