graph library wrapping matplotlib
Project description
graph-nitta
matplotlibをラップしたグラフライブラリです。
Usage
pip install -U graph-nitta
from graph_nitta import make_graph, apply_ax_config, AxConfig, SpineConfig
# グラフ作成
fig, axes = make_graph()
# グラフにデータを追加
axes[0].plot(df[df.columns[1]], df[df.columns[2]], label="sample1")
axes[0].plot(df[df.columns[1]] * 1.1, df[df.columns[2]] * 1.1, label="sample2")
# グラフの設定
config = AxConfig(x=SpineConfig(lim=(0, 5)), y=SpineConfig(lim=(0, 1)))
apply_ax_config(axes[0], config)
fig.show()
exampleに使用例を置いています。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
graph_nitta-0.1.2.7.tar.gz
(1.0 MB
view hashes)
Built Distribution
Close
Hashes for graph_nitta-0.1.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43971a9dfcb4a9ce7901673d46f52285ff4018510375953c474b2fc573778e6 |
|
MD5 | 1d5811591ec8f181b796c34960394bbb |
|
BLAKE2b-256 | 257a3899f1833a2e5c07cb7b7b000b4b692d4fbb36e16c697418e387fe5e2713 |