# Changelog¶

(2019-08-15)

(2019-03-26)

(2018-12-24)

## API Changes¶

• Log transforms now default to base - 2 minor breaks. So base 10 has 8 minor breaks and 9 partitions, base 8 has 6 minor breaks and 7 partitions, ..., base 2 has 0 minor breaks and a single partition.

## v0.5.2¶

(2018-10-17)

### Bug Fixes¶

• Fixed issue where some functions that took pandas series would return output where the index did not match that of the input.

(2018-10-15)

## v0.5.0¶

(2018-11-10)

### API Changes¶

• Support for python 2 has been removed.
• call() and
meth:~mizani.breaks.trans_minor_breaks.call now accept optional parameter n which is the number of minor breaks between any two major breaks.
• The parameter nan_value has be renamed to na_value.
• The parameter nan_rm has be renamed to na_rm.

### Enhancements¶

• Better support for handling missing values when training discrete scales.
• Changed the algorithm for log_breaks, it can now return breaks that do not fall on the integer powers of the base.

(2018-03-20)

(2018-03-09)

(2017-12-13)

(2017-12-01)

## v0.4.2¶

(2017-11-06)

• Fixed (regression) break calculation for the non ordinal transforms.

## v0.4.1¶

(2017-11-04)

• trans objects can now be instantiated with parameter to override attributes of the instance. And the default methods for computing breaks and minor breaks on the transform instance are not class attributes, so they can be modified without global repercussions.

## v0.4.0¶

(2017-10-24)

### API Changes¶

• Breaks and formatter generating functions have been converted to classes, with a __call__ method. How they are used has not changed, but this makes them move flexible.
• ExtendedWilkson class has been removed. extended_breaks() now contains the implementation of the break calculating algorithm.

## v0.3.4¶

(2017-09-12)

• Fixed issue where some formatters methods failed if passed empty breaks argument.

• Fixed issue with log_breaks() where if the limits were with in the same order of magnitude the calculated breaks were always the ends of the order of magnitude.

Now log_breaks()((35, 50)) returns [35,  40,  45,  50] as breaks instead of [1, 100].

(2017-08-30)

(2017-07-14)

(2017-06-22)

## v0.3.0¶

(2017-04-24)

• Added xkcd_palette(), a palette that selects from 954 named colors.
• Added crayon_palette(), a palette that selects from 163 named colors.
• Added cubehelix_pal(), a function that creates a continuous palette from the cubehelix system.
• Fixed bug where a color palette would raise an exception when passed a single scalar value instead of a list-like.
• extended_breaks() and mpl_breaks() now return a single break if the limits are equal. Previous, one run into an Overflow and the other returned a sequence filled with n of the same limit.

(2017-01-27)

## v0.1.0¶

(2016-06-30)

First public release