Clean, opinionated, vector-first scientific plotting for Python.
cleanfig is a small Rust/Python plotting library for clean, publication-style, vector-first scientific figures.
It focuses on a compact API, light visual defaults, and direct export to SVG, HTML, and PDF.
magma, gray, bone, plus a richer Fabio Crameri subset including batlow, vik, roma, broc, cork, lapaz, lajolla, tokyo, navia, oslo, and moreFabio Crameri colormap citation:
Crameri, F. (2023). Scientific colour maps (8.0.1). Zenodo. https://doi.org/10.5281/zenodo.8409685
The gallery includes all currently shipped example figures:
basic_lineesec_dual_y_lightfour_panels_figurefour_panels_lightfour_panels_darkviolin_box_lightviolin_box_darkGo directly to the gallery to browse the outputs.