Mpltern

Latest version: v1.0.3

Safety actively analyzes 613777 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.3

What's new

Ternary values in `hexbin` and `tribin` are now normalized correctly as documented in [Normalization in Ternary Plots](https://github.com/yuzie007/mpltern/conventions.html#normalization-in-ternary-plots) (https://github.com/yuzie007/mpltern/issues/14).

1.0.2

What's new

The signatures of the plotting methods inherited from Matplotlib are fixed to be the same as the original (https://github.com/yuzie007/mpltern/issues/13).

1.0.1

What's new

The ``C`` option of ``hexbin`` and ``tribin`` now works correctly (https://github.com/matplotlib/matplotlib/pull/26113).

1.0.0

What's new

More flexible ternary limits. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/limits/index.html).

API changes

``ternary_scale`` is renamed to ``ternary_sum``. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/introductory/04.normalization.html).

0.5.0

- ``ax.hexbin``

[``ax.hexbin``](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.hexbin.html) can now be used. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/statistics/hexbin.html).

- ``ax.tribin``

``ax.tribin`` can now be used. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/statistics/tribin.html).

0.4.0

- `ax.axline`
[`ax.axline`](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.axline.html) can now be used for [matplotlib>=3.3.0](https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.3.0.html#new-axes-axline-method) and mpltern. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/intermediate/axline.html).

- `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.

- Removal of `opposite_ticks`
Instead, `ax.taxis.set_ticks_position` and `ax.taxis.set_label_position` etc. should be used explicitly. See [gallery](https://mpltern.readthedocs.io/en/latest/gallery/axis_and_tick/tick_position.html).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.