Skip to content

Releases: has2k1/mizani

v0.12.2

05 Sep 00:42
v0.12.2
Compare
Choose a tag to compare
  • Fixed squish and squish_infinite to work for non writeable pandas series. This is broken for numpy 2.1.0.

v0.12.1

20 Aug 02:28
v0.12.1
Compare
Choose a tag to compare

Enhancements

  • Renamed "husl" color palette type to "hsluv". "husl" is the old name but we still work although not part of the API.

v0.12.0

31 Jul 12:44
v0.12.0
Compare
Choose a tag to compare

API Changes

  • mizani now requires python 3.9 and above.

Bug Fixes

  • Fixed bug where a date with a timezone could lose the timezone. #45.

v0.11.4

24 May 13:12
v0.11.4
Compare
Choose a tag to compare

Bug Fixes

  • Fixed squish and squish_infinite so that they do not reuse numpy arrays. The users object is not modified.

    This also prevents exceptions where the numpy array backs a pandas object and it is protected by copy-on-write.

v0.11.3

09 May 19:40
v0.11.3
Compare
Choose a tag to compare

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. (#42)

v0.11.2

26 Apr 17:15
v0.11.2
Compare
Choose a tag to compare

Bug Fixes
Added the ability to create reversed colormap for cmap_pal and cmap_d_pal using the matplotlib convention of name_r.

v0.11.1

29 Mar 08:37
v0.11.1
Compare
Choose a tag to compare

Bug Fixes
Fix 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 and cmap_d_pal (#39).

v0.11.0

12 Feb 13:42
v0.11.0
Compare
Choose a tag to compare

This is largely a maintenance release and got one new feature; breaks_symlog to calculate breaks for the symmetric logarithm transformation.

v0.9.3

01 Sep 13:38
v0.9.3
Compare
Choose a tag to compare

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

v0.10.0

28 Jul 17:57
v0.10.0
Compare
Choose a tag to compare

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

  • trans_minor_breaks is now 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 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