Skip to content

v0.4.0

Choose a tag to compare

@Zeitsperre Zeitsperre released this 10 Mar 16:00
ad3435a

Contributors to this version: Trevor James Smith (@Zeitsperre), Marco Braun (@vindelico), Pascal Bourgault (@aulemahal), Sarah-Claude Bourdeau-Goulet (@Sarahclaude), Éric Dupuis (@coxipi), Juliette Lavoie (@juliettelavoie).

New features and enhancements

  • figanos now supports Python 3.12. (PR/210).
  • Use list or ndarray as levels for colorbar in gridmap and small bug fixes (PR/176).
  • Added style sheet transparent.mplstyle (GH/183, PR/185)
  • Fix NaN issues, extreme values in sizes legend and added edgecolors in fg.matplotlib.scattermap (PR/184).
  • New function fg.data for fetching package data and defined matplotlib style definitions. (PR/211).
  • New argument enumerate_subplots for gridmap, timeseries, hatchmap and scattermap(PR/220).
  • fg.taylordiagram can now accept datasets with many dimensions (not only taylor_params), provided that they all share the same ref_std (e.g. normalized taylor diagrams) (PR/214).
  • A new optional way to organize points in a fg.taylordiagram with colors_key, markers_key : DataArrays with a common dimension value or a common attribute are grouped with the same color/marker (PR/214).
  • Heatmap (fg.matplotlib.heatmap) now supports row,col arguments in plot_kw, allowing to plot a grid of heatmaps. (GH/208, PR/219).
  • New function fg.matplotlib.triheatmap (PR/199).
  • Reorganized the documentation and add gallery (GH/278, GH/274, GH/202, PR/279).
  • Added a new pooch-based mechanism for fetching and caching testing data used in the notebooks (fg.pitou().fetch()). (PR/279).
  • No-legend option in hatchmap; use edgecolor and edgecolors as aliases (PR/195)

Breaking changes

  • figanos no longer supports Python 3.8. (PR/210).
  • figanos now uses a 'src' layout <https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout>_ for the package. (PR/210).
  • cartopy has been pinned above v0.23.0 due to a licensing issue. (PR/210).
  • twine and wheel have been removed from the dev requirements. (PR/210).
  • fg.taylordiagram returns a tuple of (fig, floating_ax, legend) instead of only floating_ax. (PR/214).

Internal changes

  • Updated the cookiecutter template to the latest version. (PR/168):
    • Addresses a handful of misconfigurations in the GitHub Workflows.
    • Updated ruff to v0.2.0 and black to v24.2.0.
  • Removed several unnecessary noqa comments from the codebase. (PR/168).
  • Updated the cookiecutter template to the latest version. (PR/210):
    • GitHub Workflows have been updated to point to commits rather than tags.
    • The dependabot configuration has been updated to run updates on a monthly schedule.
    • Updated ruff to v0.3.0 and black to v24.4.2.
    • CHANGES.rst has been renamed to CHANGELOG.rst.
    • Maintainer-specific documentation has been added to new documentation page releasing.rst.
  • figanos now has a CODE_OF_CONDUCT.rst file adapting the Contributor Covenant v2.1 conventions. (PR/210).
  • Updated the cookiecutter template to the latest version. (PR/246):
    • Styling conventions now use ruff and numpydoc-validation to ensure code and docstrings are valid.
    • tox now uses tox-gh to help automate build configurations on GitHub Workflows.
    • CI configurations have been updated to use hashed commits for PyPI-sourced dependencies.
    • flake8-alphabetize has been replaced with ruff for some linting checks.
  • Updated the notebook coding conventions to adapt to changes in xclim-testdata. (PR/246).
  • Workflows now make better use of caching to speed up the CI testing process. (PR/262).
  • Updated the cookiecutter template to the latest version. (PR/273):
    • Several development dependencies have been updated to their latest versions.
    • Updated the GitHub Actions in Workflows to their latest versions.
  • The documentation has been adapted to use the latest testing data fetching mechanism from xclim. (PR/273).
  • Updated the cookiecutter template to the latest version. Dependencies and GitHub Actions have been updated. (PR/282).
  • The bump-version.yml GitHub Workflow has been updated to use the Ouranos Helper Bot instead of personal access tokens. (PR/287).
  • Updated the cookiecutter template to the latest version. (PR/295):
    • Added a CodeQL Advanced configuration.
    • Updated versions of many GitHub Actions and Python dependencies.
    • Removed coveralls from the CI dependencies.
    • Added pre-commit hooks for vulture (dead code) and codespell (typos).

Bug fixes

  • Creating the colormap in fg.matplotlib.scattermap is now done like fg.matplotlib.gridmap (PR/238, GH/239).
  • Updated the default testing data URL in the pitou function to point to the correct branch. (PR/282).