v0.4.0
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
figanosnow 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
NaNissues, extreme values in sizes legend and addededgecolorsinfg.matplotlib.scattermap(PR/184). - New function
fg.datafor fetching package data and definedmatplotlibstyle definitions. (PR/211). - New argument
enumerate_subplotsforgridmap,timeseries,hatchmapandscattermap(PR/220). fg.taylordiagramcan now accept datasets with many dimensions (not onlytaylor_params), provided that they all share the sameref_std(e.g. normalized taylor diagrams) (PR/214).- A new optional way to organize points in a
fg.taylordiagramwithcolors_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 supportsrow,colarguments inplot_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; useedgecolorandedgecolorsas aliases (PR/195)
Breaking changes
figanosno longer supports Python 3.8. (PR/210).figanosnow uses a'src' layout <https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout>_ for the package. (PR/210).cartopyhas been pinned above v0.23.0 due to a licensing issue. (PR/210).twineandwheelhave been removed from thedevrequirements. (PR/210).fg.taylordiagramreturns a tuple of(fig, floating_ax, legend)instead of onlyfloating_ax. (PR/214).
Internal changes
- Updated the
cookiecuttertemplate to the latest version. (PR/168):- Addresses a handful of misconfigurations in the GitHub Workflows.
- Updated
ruffto v0.2.0 andblackto v24.2.0.
- Removed several unnecessary
noqacomments from the codebase. (PR/168). - Updated the
cookiecuttertemplate to the latest version. (PR/210):- GitHub Workflows have been updated to point to commits rather than tags.
- The
dependabotconfiguration has been updated to run updates on a monthly schedule. - Updated
ruffto v0.3.0 andblackto v24.4.2. CHANGES.rsthas been renamed toCHANGELOG.rst.- Maintainer-specific documentation has been added to new documentation page
releasing.rst.
figanosnow has aCODE_OF_CONDUCT.rstfile adapting the Contributor Covenant v2.1 conventions. (PR/210).- Updated the
cookiecuttertemplate to the latest version. (PR/246):- Styling conventions now use ruff and numpydoc-validation to ensure code and docstrings are valid.
toxnow usestox-ghto help automate build configurations on GitHub Workflows.- CI configurations have been updated to use hashed commits for PyPI-sourced dependencies.
flake8-alphabetizehas been replaced withrufffor 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
cookiecuttertemplate 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
cookiecuttertemplate to the latest version. Dependencies and GitHub Actions have been updated. (PR/282). - The
bump-version.ymlGitHub Workflow has been updated to use the Ouranos Helper Bot instead of personal access tokens. (PR/287). - Updated the
cookiecuttertemplate to the latest version. (PR/295):- Added a CodeQL Advanced configuration.
- Updated versions of many GitHub Actions and Python dependencies.
- Removed
coverallsfrom the CI dependencies. - Added
pre-commithooks forvulture(dead code) andcodespell(typos).