Metadata-Version: 2.1
Name: mplotkit
Version: 0.2.0
Summary: Collection of helpers for plotting with matplotlib
Home-page: https://github.com/martok/py-plotkit
Author: Martok
Author-email: martok@martoks-place.de
License: MIT
Project-URL: Bug Tracker, https://github.com/martok/py-plotkit/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: Matplotlib
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib

# PlotKit

Collection of some helpers and functions, mostly used by [martok](https://github.com/martok).


## Installation

Install using pip:

```pip install mplotkit```

## Usage

Minimal example:

```python
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](https://raw.githubusercontent.com/martok/py-plotkit/master/doc/example_output.png)


