Skip to main content

Collection of helpers for plotting with matplotlib

Project description

PlotKit

Collection of some helpers and functions, mostly used by martok.

Installation

Install using pip:

pip install mplotkit

Usage

Minimal example:

import numpy as np
import plotkit.plotkit as pk

pk.set_style('print')

fig, (ax1, ax2) = pk.new_regular(1,2)
t = np.arange(0.0, 2.0, 0.01)
ax1.plot(t, 1 + np.sin(2*np.pi*t))
pk.set_grid(ax1)
ax2.plot(t, 1 + np.cos(2*np.pi*t))
pk.set_ticks(ax2)
pk.set_grid(ax2)
pk.finalize(fig, 'example_output.png')

Result: Example Output

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

mplotkit-0.4.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mplotkit-0.4.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file mplotkit-0.4.0.tar.gz.

File metadata

  • Download URL: mplotkit-0.4.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mplotkit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 24ea72a9e21b10d68ae7395c4adcf301db9742bec3d12c0dec8b3074630954f2
MD5 de2405aacd73cc2e6dddaca5f6903cc3
BLAKE2b-256 74a88d26daeddcd14f0d024040c1d81eca199e5a04a0be9663f94a35f06cdf97

See more details on using hashes here.

File details

Details for the file mplotkit-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: mplotkit-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mplotkit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a4909200d5cf0831edf10b2337282dc4a74e863e8fe3e5721be70f38862cade
MD5 1d8dd28d686f9d04131b23255b46c590
BLAKE2b-256 00510edf32667337c1823ed093950d30ba8833a4bbe604e53d1eb410c1ab5458

See more details on using hashes here.

Supported by

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