Skip to content

Releases: braniii/prettypyplot

v0.12.0

11 Aug 21:14

Choose a tag to compare

API changes warning ⚠️:

  • Drop Python 3.8 due to EOL. Please use v0.11.0.

Added Features and Improvements πŸ™Œ:

  • Goodbye setup.py, welcome modern Python packaging standards with uv and ruff πŸŽ‰
  • Added 3 variants of paula colormap: a cbf-friendly version paula_cbf, a continuous version paula2, and a green alternative paula_lime
  • Added beautiful GeoDataViz colormaps, checkout the gallery😎

Other changes:

  • Minor improvements

v0.11.0

30 May 10:54

Choose a tag to compare

API changes warning ⚠️:

  • The cmap pastel_autunm was renamed to pastel_autumn
  • Use latex font only if available

Added Features and Improvements πŸ™Œ:

  • Added tox setup with pytests against mpl 3.2-3.8 and py 3.8-3.12
  • Added pplt.show() to get consistent sizing with pplt.savefig

Other changes:

  • Move to new git repository: Welcome to GithubπŸŽ‰
  • Removed deprecated function setup_pyplot, use use_style
  • Added option reference_ax parameter to specify axes in pplt.savefig

v0.10.1

27 Nov 17:08

Choose a tag to compare

Bugfix πŸ›:

  • Fixed bug when using style='minimal' that lead to altering custom ticks, see #1

v0.10.0

09 Mar 09:34

Choose a tag to compare

API changes warning ⚠️:

  • Renamed submodule plot to pyplot to avoid shadowing with function pplt.plot
  • Method pplt.activate_axis needs to be called via pplt.pyplot.activate_axis

Added Features and Improvements πŸ™Œ:

  • Moved from pdoc to an all new mkdocs documentation πŸŽ‰

Bugfix πŸ›:

  • Fixed bug with label_outer with mpl >= 3.7
  • Fixed bug due deprecation in mpl>=3.6, where the kwarg b in ax.grid was renamed to visibile

Other changes:

  • Some submodules, used to add additional pages in pdoc, were removed
  • Remove deprecated usage of mpl.cm.get_cmaps and mpl.cm.register_cmap

v0.9.0

03 Nov 19:48

Choose a tag to compare

API changes warning ⚠️:

  • define pip install prettypyplot[testing/docs/all] to bundle installation
  • The methods pplt.tools.parse_figsize and pplt.tools.parse_figaratio are
    moved to pplt.style._parse_figsize and pplt.style._parse_figratio,
    respectively

Added Features and Improvements πŸ™Œ:

  • Store all variables of pplt.use_style. This enables calling
    pplt.update_style without repeating all arguments remaining the same.
  • Moved from flat to recommended src layout and moved tests from test to
    tests

Bugfix πŸ›:

  • Fix coverage CI
  • Fix identifying continuos cmaps in pplt.use_style(colors=...), e.g.,
    turbo, viridis.
  • Fix calling pplt.update_style without specifying figratio and/or
    figsize
  • Fix including LICENSE file in pypi package and exclude tests, this allows
    publishing to conda-forge

Other changes:

  • Increase decorit>=0.2.0 to remove annoying PEP warnings