Mizani

Latest version: v0.11.3

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

Scan your dependencies

Page 1 of 6

0.11.3

-------
*2024-05-09*

Bug Fixes
---------

- Fixed bug when calculating monthly breaks where when the limits are narrow
and do not align with the start and end of the month, there were no
dates returned. (:issue:`42`)

0.11.2

-------
*2024-04-26*

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.11074548.svg
:target: https://doi.org/10.5281/zenodo.11074548

Bug Fixes
---------

- Added the ability to create reversed colormap for
:class:`~mizani.palettes.cmap_pal` and
:class:`~mizani.palettes.cmap_d_pal` using the matplotlib convention
of `name_r`.

0.11.1

-------
*2024-03-27*

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10893760.svg
:target: https://doi.org/10.5281/zenodo.10893760

Bug Fixes
---------

- Fix :class:`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
:class:`~mizani.palettes.cmap_pal` and
:class:`~mizani.palettes.cmap_d_pal` (:issue:`39`).

New
---

- Added :class:`~mizani.breaks.breaks_symlog` to calculate
breaks for the symmetric logarithm transformation.

Changes
-------
- The default `big_mark` for :class:`~mizani.labels.label_number`
has been changed from a comma to nothing.

0.11.0

-------
*2024-02-12*

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10650549.svg
:target: https://doi.org/10.5281/zenodo.10650549

Enhancements
------------

- Removed FutureWarnings when using pandas 2.1.0

New
---

- Added :class:`~mizani.breaks.breaks_symlog` to calculate
breaks for the symmetric logarithm transformation.

Changes
-------
- The default `big_mark` for :class:`~mizani.labels.label_number`
has been changed from a comma to nothing.

0.10.0

-------
*2023-07-28*

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8193394.svg
:target: https://doi.org/10.5281/zenodo.8193394

API Changes
***********

- :class:`~mizani.formatters.mpl_format` has been removed,
:class:`~mizani.formatters.number_format` takes its place.

- :class:`~mizani.breaks.mpl_breaks` has been removed,
:class:`~mizani.breaks.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 :class:`~mizani.formatters.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 :class:`~mizani.formatters.label_comma`
* `custom_format` is now :class:`~mizani.formatters.label_custom`
* `currency_format` is now :class:`~mizani.formatters.label_currency`
* `label_dollar` is now :class:`~mizani.formatters.label_dollar`
* `percent_format` is now :class:`~mizani.formatters.label_percent`
* `scientific_format` is now :class:`~mizani.formatters.label_scientific`
* `date_format` is now :class:`~mizani.formatters.label_date`
* `number_format` is now :class:`~mizani.formatters.label_number`
* `log_format` is now :class:`~mizani.formatters.label_log`
* `timedelta_format` is now :class:`~mizani.formatters.label_timedelta`
* `pvalue_format` is now :class:`~mizani.formatters.label_pvalue`
* `ordinal_format` is now :class:`~mizani.formatters.label_ordinal`
* `number_bytes_format` is now :class:`~mizani.formatters.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 :class:`~mizani.breaks.breaks_log`
* `trans_minor_breaks` is now :class:`~mizani.breaks.minor_breaks_trans`
* `date_breaks` is now :class:`~mizani.breaks. breaks_date`
* `timedelta_breaks` is now :class:`~mizani.breaks. breaks_timedelta`
* `extended_breaks` is now :class:`~mizani.breaks. breaks_extended`

- :class:`~mizani.transforms.trans.dataspace_is_numerical` has changed
to :class:`~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
***
- :class:`~mizani.transforms.symlog_trans` for symmetric log transformation

0.9.2

------

*2023-05-25*

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7971866.svg
:target: https://doi.org/10.5281/zenodo.7971866

Bug Fixes
*********

- Fixed regression in but in :class:`~mizani.formatters.date_format` where
it cannot deal with UTC timezone from :class:`~datetime.timezone`
:issue:`30`.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.