Skip to content

Installation

Requires Python ≥ 3.10 and Matplotlib ≥ 3.7.

pip install rwthplots

From GitHub

pip install git+https://github.com/RWTH-IAEW/rwthplots.git

Editable install for development

git clone https://github.com/RWTH-IAEW/rwthplots.git
cd rwthplots
pip install -e .

With development dependencies

uv sync --group dev

This installs pytest, coverage, and the MkDocs documentation toolchain.

Verifying the install

import rwthplots
print(rwthplots.__version__)   # e.g. 3.1.0

On import, rwthplots automatically:

  • registers all 41 RWTH colormaps with Matplotlib
  • injects all .mplstyle files into plt.style.library so they are addressable as rwthplots.styles.<name>