version 0.2.0
Mayor release, mostly introducing the new colorbar
functionality.
- add
_color_palette
that selects colors from the whole range of the colormap. Previously we used theseaborn
logic that excludes colors at the edge of the colorbar (closes GH:#1). - the colorbar functionality was entirely redesigned:
- new top-level function
mpu.colorbar
- added
aspect
keyword which defines the ratio of long to short side - the default width/ height is now
aspect=20
(wassize=0.04
) pad
andsize
are now scaled by the width/ height of the axes (was width/ height of the figure)pad
now uses the matplotlib default (0.05 for vertical bars and 0.15 for horizontal colorbars)
- new top-level function
- add
_is_monotonic
toinfer_interval_breaks
- renamed
sample_data_3d
tosample_data_map