https://github.com/rami-sabbagh/mpl-utils
A bunch of opinionated `matplotlib` plotting utilities tailored for my own needs.
https://github.com/rami-sabbagh/mpl-utils
Last synced: 6 months ago
JSON representation
A bunch of opinionated `matplotlib` plotting utilities tailored for my own needs.
- Host: GitHub
- URL: https://github.com/rami-sabbagh/mpl-utils
- Owner: Rami-Sabbagh
- License: mit
- Created: 2024-11-08T09:22:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T09:33:26.000Z (about 1 year ago)
- Last Synced: 2025-03-13T19:50:10.284Z (10 months ago)
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rami's Matplotlib Utilities
Those are a bunch of opinionated `matplotlib` plotting utilities tailored for my own needs.
## Installation
```sh
pip install git+https://github.com/Rami-Sabbagh/mpl-utils.git@1.0.0
```
## Styles Usage
```py
import matplotlib.pyplot as plt
plt.style.use('mpl_utils.styles.default')
```
**Available styles:** `default` only.
## Development
- Install Poetry and Python 3.12+
- Clone repository locally.
- Install dependencies: `poetry install`.
- Start a shell with the `venv` activated: `poetry shell`.
## Testing
Simply run `pytest` at the root of the repo, with the `venv` activated.
Or using `poetry run pytest`.