Skip to content

v0.10.0

Compare
Choose a tag to compare
@has2k1 has2k1 released this 28 Jul 17:57
· 75 commits to main since this release
v0.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

  • 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