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 nowlabel_comma
custom_format
is nowlabel_custom
currency_format
is nowlabel_currency
label_dollar
is nowlabel_dollar
percent_format
is nowlabel_percent
scientific_format
is nowlabel_scientific
date_format
is nowlabel_date
number_format
is nowlabel_number
log_format
is nowlabel_log
timedelta_format
is nowlabel_timedelta
pvalue_format
is nowlabel_pvalue
ordinal_format
is nowlabel_ordinal
number_bytes_format
is nowlabel_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 nowbreaks_date
-
timedelta_breaks
is nowbreaks_timedelta
-
extended_breaks
is nowbreaks_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
- symlog_trans for symmetric log transformation