Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/etra0/personal_plot
Monkey customization for matplotlib.
https://github.com/etra0/personal_plot
Last synced: 27 days ago
JSON representation
Monkey customization for matplotlib.
- Host: GitHub
- URL: https://github.com/etra0/personal_plot
- Owner: etra0
- Created: 2018-02-20T18:52:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T14:53:15.000Z (almost 7 years ago)
- Last Synced: 2024-12-25T11:43:56.215Z (about 2 months ago)
- Language: Python
- Size: 184 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monkey customization for matplotlib
Just a monkey customization for matplotlib.
to install run
```bash
pip install .
```to use it:
```python
import matplotlib.pyplot as plt
import personal_plot as pp
import numpy as np# set some mpl params for the minimal theme.
pp.set()fig, ax = plt.subplots()
ax.scatter(np.random.uniform(size=100), np.random.uniform(size=100))
pp.set_title(ax, "Title", "Subtitle", "Optional caption", "author")
pp.savefig(fig, "result.png")
```## Result
![](https://github.com/etra0/personal_plot/raw/master/example/result.png)