mpltern: Ternary plots with Matplotlib
Mpltern is a Python plotting library based on Matplotlib specifically designed for ternary plots.
- Direct dependence on Matplotlib only
- Compatible with multiple Matplotlib versions with a high test coverage
- Many plotting styles with similar method names to those in Matplotlib
- Automatic positioning of tick markers, tick labels, and axis labels consistent with Matplotlib
tight_layout
andconstrained_layout
- Easy combination with normal Matplotlib plots
- Easy application of style sheets
- Interactive in, e.g., Jupyter notebooks
Installation
See the install documentation.
Basic Usage
See the basic usage documentation.
See more examples in the gallery.
How to Cite mpltern
Please cite mpltern via the DOI if mpltern contributes to a scientific publication.
Matplotlib should also be acknowledged when using mpltern.
Author
Yuji Ikeda (University of Stuttgart, Germany)