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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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