Skip to content

Installation¤

Stable¤

Install the latest stable release from PyPI:

pip install compas_plotter

This pulls in compas and matplotlib (plus pillow for GIF recording).

Conda¤

If you manage your COMPAS environment with conda, install the dependencies from conda-forge and compas_plotter from pip:

conda create -n compas-env python=3.12 compas matplotlib pillow
conda activate compas-env
pip install compas_plotter

Latest (development)¤

Install the latest version directly from the git repository:

pip install git+https://github.com/compas-dev/compas_plotter.git

From source¤

Clone the repository and install it in editable mode with the development dependencies:

git clone https://github.com/compas-dev/compas_plotter.git
cd compas_plotter
pip install -e ".[dev]"

Verify¤

import compas_plotter
print(compas_plotter.__version__)