Release notes#

mpltern 1.0.4 (2024-04-xx)#

Matplotlib 3.4.0-3.8.x

What’s new#

Interactive plots broken in mpltern 1.0.3 for ternary_sum != 1.0 is fixed.

Ternary values in hexbin and tribin are now cast into float inside before normalization (yuzie007/mpltern#15).

mpltern 1.0.3 (2024-03-23)#

Matplotlib 3.4.0-3.8.x

What’s new#

Ternary values in hexbin and tribin are now normalized correctly as documented in Normalization in Ternary Plots (yuzie007/mpltern#14).

mpltern 1.0.2 (2023-08-28)#

Matplotlib 3.4.0-3.7.x

What’s new#

The signatures of the plotting methods inherited from Matplotlib are fixed to be the same as the original (yuzie007/mpltern#13).

mpltern 1.0.1 (2023-08-22)#

Matplotlib 3.4.0-3.7.x

What’s new#

The C option of hexbin and tribin now works correctly (matplotlib/matplotlib#26113).

mpltern 1.0.0 (2023-06-11)#

Matplotlib 3.4.0-3.7.x

What’s new#

More flexible ternary limits. See gallery.

API changes#

ternary_scale is renamed to ternary_sum. See gallery.

mpltern 0.5.0 (2023-02-22)#

Matplotlib 3.4.0-3.7.x

What’s new#

ax.hexbin#

ax.hexbin is now available. See gallery.

ax.tribin#

ax.tribin is now available. See gallery.

mpltern 0.4.0 (2022-12-07)#

Matplotlib 3.4.0-3.6.x

What’s new#

ax.axline#

ax.axline is now available together with matplotlib>=3.3.0. See gallery.

tight_layout and constrained_layout#

Previously tight_layout and constrained_layout did not work as expected, which is fixed in mpltern 0.4.0.

No overlaps between titles and ternary axes#

As done in Matplotlib.

API Changes#

Removal of opposite_ticks#

Instead, ax.taxis.set_ticks_position and ax.taxis.set_label_position etc. should be used explicitly. See gallery.

Drop support of python<3.7 and matplotlib<3.4.0#

Python 3.6 is not maintained anymore. With Python 3.7, Matplotlib 3.4.0 is available.

mpltern 0.3.5 (2022-09-24)#

Matplotlib 3.2.0-3.6.x

mpltern 0.3.4 (2021-11-29)#

Matplotlib 3.2.0-3.5.x

While essentially mpltern still works with Matplotlib 3.1.1, I got difficulty to make it pass the tests and therefore dropped the support.

mpltern 0.3.3 (2021-03-28)#

Matplotlib 3.1.1-3.4.x

mpltern 0.3.2 (2020-10-29)#

Matplotlib 3.1.1-3.3.x

Update for conda-forge

mpltern 0.3.1 (2020-07-18)#

Matplotlib 3.1.1-3.3.x

mpltern 0.3.0 (2019-11-01)#

Matplotlib 3.1.1-3.2.x

The tick-label rotation in mpltern relies on the rotation of the Text object in Matplotlib. In Matplotlib 3.0 or lower, however, there was a bug for the Text rotation in case va=='center_baseline' and rotation_mode=='anchor' (matplotlib/matplotlib#13028). If these Matplotlib versions are used, tick-label positions are not as expected. When using mpltern, therefore, it is strongly discouraged to use these old Matplotlib versions and instead suggested to use higher versions.

Note that Matplotlib 3.1 had also other bugs (e.g. matplotlib/matplotlib#14751).