mplotutils

helper functions for cartopy and matplotlib

MIT License

Stars
17
Committers
3
mplotutils - version 0.5.0 Latest Release

Published by mathause 7 months ago

Version v0.5.0 aligns passing multiple axes to colorbar with matplotlib.

mplotutils - version 0.4.0

Published by mathause 8 months ago

Version 0.4.0 simplifies the way figures with a mpu.colorbar have to be saved and bumps the supported versions.

mplotutils - version 0.3.1

Published by mathause over 1 year ago

Version v0.3.1 fixes a regression and an additional bug from v0.3.0. It's recommended to use this version.

mplotutils - version 0.3.0

Published by mathause almost 2 years ago

Version 0.3.0 includes some long-overdue bug fixes, modernization of the code, much better test coverage and some enhancements.

mplotutils - version 0.2.0

Published by mathause over 6 years ago

Mayor release, mostly introducing the new colorbar functionality.

  • add _color_palette that selects colors from the whole range of the colormap. Previously we used the seaborn 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 (was size=0.04)
    • pad and size 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)
  • add _is_monotonic to infer_interval_breaks
  • renamed sample_data_3d to sample_data_map
mplotutils - version 0.1.0

Published by mathause over 6 years ago