Line plots with Python & TikZ
StoryLines is a Python library to create plots in LaTeX format.
plot- figure objectcalc- mathematical helperscolor- blendable colors and colormapsconvert- inches to centimeters etc.cut- remove redundant or unwanted pointsfatband- plot weights along linefiles- typeset TeX, rasterize PDFgroup- chunk sequences of pointspng- save and load RGB(A) graphicsproj- project 3D object onto plane
Installation
Optionally using a virtual environment:
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip
Either from PyPI:
python3 -m pip install storylines
Or from the repository:
git clone https://github.com/janberges/StoryLines
python3 -m pip install -e StoryLines
Documentation
The documentation and example scripts along with output can be found at https://io.janberges.de/StoryLines.
Note that storylines.module.member is equivalent to storylines.member.
License
This program is free software under the terms of the BSD Zero Clause License.
Copyright (C) 2016-2025 Jan Berges