An open API service indexing awesome lists of open source software.

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.

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`.