Mizani

Latest version: v0.11.2

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

Scan your dependencies

Page 1 of 6

0.11.2

**Bug Fixes**
Added the ability to create reversed colormap for [cmap_pal](https://mizani.readthedocs.io/en/stable/palettes.html#mizani.palettes.cmap_pal) and [cmap_d_pal](https://mizani.readthedocs.io/en/stable/palettes.html#mizani.palettes.cmap_d_pal) using the matplotlib convention of `name_r`.

0.11.1

**Bug Fixes**
Fix [mizani.palettes.brewer_pal](https://mizani.readthedocs.io/en/stable/palettes.html#mizani.palettes.brewer_pal) to return exact colors in the when the requested colors are less than or equal to those in the palette.

Add all matplotlib colormap and make them avalaible from [cmap_pal](https://mizani.readthedocs.io/en/stable/palettes.html#mizani.palettes.cmap_pal) and [cmap_d_pal](https://mizani.readthedocs.io/en/stable/palettes.html#mizani.palettes.cmap_d_pal) ([39](https://github.com/has2k1/mizani/issues/39)).

0.11.0

This is largely a maintenance release and got one new feature; [breaks_symlog](https://mizani.readthedocs.io/en/stable/breaks.html#mizani.breaks.breaks_symlog) to calculate breaks for the symmetric logarithm transformation.

0.10.0

2023-07-28

**API Changes**

- `mpl_format` has been removed, `number_format` takes its place.
- `mpl_breaks` has been removed, `extended_breaks` has always been the default and it is sufficient.
- matplotlib has been removed as a dependency of mizani.
- mizani now requires python 3.9 and above.
- The units parameter for of `timedelta_format` now accepts the values "min", "day", "week", "month", instead of "m", "d", "w", "M".
- The naming convention for break formatting methods has changed from *_format to label_*. Specifically these methods have been renamed.

- `comma_format` is now `label_comma`
- `custom_format` is now `label_custom`
- `currency_format` is now `label_currency`
- `label_dollar` is now `label_dollar`
- `percent_format` is now `label_percent`
- `scientific_format` is now `label_scientific`
- `date_format` is now `label_date`
- `number_format` is now `label_number`
- `log_format` is now `label_log`
- `timedelta_format` is now `label_timedelta`
- `pvalue_format` is now `label_pvalue`
- `ordinal_format` is now `label_ordinal`
- `number_bytes_format` is now `label_bytes`

- The naming convention for break calculating methods has changed from *_breaks to breaks_*. Specifically these methods have been renamed.

- `log_breaks` is now [breaks_log](https://mizani.readthedocs.io/en/stable/breaks.html#mizani.breaks.breaks_log)
- `trans_minor_breaks` is now [minor_breaks_trans](https://mizani.readthedocs.io/en/stable/breaks.html#mizani.breaks.minor_breaks_trans)
- `date_breaks` is now `breaks_date`
- `timedelta_breaks` is now `breaks_timedelta`
- `extended_breaks` is now `breaks_extended`
- dataspace_is_numerical has changed to [domain_is_numerical](https://mizani.readthedocs.io/en/stable/transforms.html#mizani.transforms.trans.domain_is_numerical) and it is now determined dynamically.

- The default `minor_breaks` for all transforms that are not linear are now calculated in dataspace. But only if the dataspace is numerical.

**New**
- [symlog_trans](https://mizani.readthedocs.io/en/stable/transforms.html#mizani.transforms.symlog_trans) for symmetric log transformation

0.9.3

This is a maintenance release. It fixes future warnings from panda 2.1.0.

0.9.2

**Bug Fixes**
Fixed regression in but in [date_format](https://mizani.readthedocs.io/en/stable/formatters.html#mizani.formatters.date_format) where it cannot deal with UTC [timezone](https://docs.python.org/3/library/datetime.html#datetime.timezone) from timezone [30](https://github.com/has2k1/mizani/issues/30).

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.