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
See the install documentation.
See the basic usage documentation.
See more examples in the gallery.
Please cite mpltern via the DOI if mpltern contributes to a scientific publication.
Matplotlib should also be acknowledged when using mpltern.
Yuji Ikeda (University of Stuttgart, Germany)