semvec/pypi-packages huggingface dataset:
matoolkit 0.1.2
A toolkit for chart creation in matplotlib
Requires Python: >=3.8

# matoolkit: matplotlib toolkit

`matoolkit` is a collection of class/functions that wrap around [matplotlib](https://matplotlib.org/) and [highlight_text](https://github.com/znstrider/highlight_text) to make it easier to create visually appealing plots.

<br>

## Installation

This project is still in very early development but is already available on PyPI. You can install it with pip:

```bash
pip install matoolkit==0.1.2
```

<br><br>

## Current features

<br>

- `multiple_linecharts()`: Plot multiple line charts with main and secondary lines. The code that generates the plots below can be found [here](https://github.com/JosephBARBIERDARNAL/matoolkit/blob/main/notebooks/multiple_linecharts.ipynb)

Examples:

<p align="center">
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/multiple_linecharts_1.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/multiple_linecharts_2.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/multiple_linecharts_3.png" width="25%" />
</p>

<br>

- `draw_arrow()`: Draw an arrow on a `Figure` between two points with various customization features (color, width, length, curvation...). The code that generates the plots below can be found [here](https://github.com/JosephBARBIERDARNAL/matoolkit/blob/main/notebooks/draw_arrow.ipynb)

Examples:

<p align="center">
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/draw_arrow_1.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/draw_arrow_2.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/draw_arrow_3.png" width="25%" />
</p>

<br>

- `TileMap()` class to create tile maps with a simple API. Only the US is currently available. The code that generates the plots below can be found [here](https://github.com/JosephBARBIERDARNAL/matoolkit/blob/main/notebooks/tile_map.ipynb)

Examples:

<p align="center">
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/tile_map_1.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/tile_map_2.png" width="25%" />
  <img src="https://raw.githubusercontent.com/JosephBARBIERDARNAL/matoolkit/main/notebooks/img/tile_map_3.png" width="25%" />
</p>