Skip to main content

Context manager for matplotlib figures

Project description

Context manager for matplotlib figures.

Example:

from plox import Plox, rcParam
from pathlib import Path

# https://matplotlib.org/tutorials/introductory/customizing.html
style = {
    rcParam.Legend.fontsize: "large",
    rcParam.Xtick.labelsize: "large",
    rcParam.Ytick.labelsize: "large",
}

with Plox(style) as px:
    px.a.plot([1, 2, 3], [4, 3, 5], 'o--')
    px.f.savefig(Path(__file__).with_suffix('.png'))
    px.show()

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

plox-0.0.3.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

plox-0.0.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file plox-0.0.3.tar.gz.

File metadata

  • Download URL: plox-0.0.3.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5

File hashes

Hashes for plox-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b7d348ee99fa6a2c6281bc86105a358267825781da32e9f7025fa95bbbed42e2
MD5 b7a825f9fbadf3486d8001b38d1f685b
BLAKE2b-256 59eeaa7dba46aba3ea0334c92f4d6b9c59e04b274a76f162ddea1ffe73f8bd19

See more details on using hashes here.

File details

Details for the file plox-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: plox-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5

File hashes

Hashes for plox-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dfc3ba1539af9948ee7e37d3de021174e7180f5a66e8f7ef67d3e1e875e59871
MD5 8a0d4e5ca8a5ce02badbaf0aab8b1670
BLAKE2b-256 5fb6c529f81573099ef1fc08318c2db4eb8065ee0efcbc09ad9b3afb3314ace5

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