Skip to main content

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


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.8.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

graph_nitta-0.1.2.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file graph_nitta-0.1.2.8.tar.gz.

File metadata

  • Download URL: graph_nitta-0.1.2.8.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for graph_nitta-0.1.2.8.tar.gz
Algorithm Hash digest
SHA256 2b00960b743928504a65d2354c6a95220dcdfab1c5fc7a0b3112ed70f2d7e326
MD5 39b03a23b8c760cd0037a609eb0a9779
BLAKE2b-256 215030d443eb2d465e644acde03fd17458077cba0dc2bab87355e7703465aa92

See more details on using hashes here.

File details

Details for the file graph_nitta-0.1.2.8-py3-none-any.whl.

File metadata

File hashes

Hashes for graph_nitta-0.1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5a0f53699b44a1e4044b9ca0dc2ce4b89c44141c18df063d286973ca4b7c132e
MD5 5daddf300e40327bcaf5db4ba6f0e162
BLAKE2b-256 2ab23234e4660d8249ea6d8b8ef9df6135e3e0092b73152c3f9b87e213237b6b

See more details on using hashes here.

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