A collection of helper functions for Matplotlib
This package is not distributed on PyPI, it must be installed from source. If using Poetry to manage dependencies, installation is:
poetry add git+https://github.com/colinahill/mpl_utils.gitThis project uses Poetry to manage dependencies.
An environment with Python version 3.11 or later is required. If you don't have this, it can be created using Pyenv which should be installed first. After installing Pyenv, download and install Python 3.11 using
pyenv install 3.11If you already have Python version 3.11 or later you can skip this step.
Clone the repo and install the package:
git clone https://github.com/colinahill/mpl_utils.git && cd mpl_utils(Optional) In the case where Poetry doesn't automatically find the correct Python path, you can set it with
pyenv local 3.11
poetry env use 3.11Then install the package
poetry install # Creates a virtualenv and installs package into it
poetry shell # Opens a sub-shell in the virtualenvInstall pre-commit hooks for code quality:
pre-commit install