Recent Releases of figanos
figanos - v0.5.0
Contributors: Juliette Lavoie (@juliettelavoie), Trevor James Smith (@Zeitsperre).
Changes
figanosnow supports Python 3.13 and has dropped support for Python 3.9 (PR/322).- Several base dependencies have been updated to more modern versions (PR/322):
numpyhas been updated to>=1.25.0(no longer pinned below2.0.0).pinthas been updated to>=0.18.0.scikit-imagehas been updated to>=0.21.0.xarrayhas been updated to>=2023.11.0.
Fixes
- The
fg.utils.get_rotpolefunction now accepts more general inputs (PR/308).
- Python
Published by Zeitsperre about 1 year ago
figanos - 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).
Bug fixes
- Creating the colormap in
fg.matplotlib.scattermapis now done likefg.matplotlib.gridmap(PR/238, GH/239). - Updated the default testing data URL in the
pitoufunction to point to the correct branch. (PR/282).
- Python
Published by Zeitsperre over 1 year ago
figanos - v0.3.0
What's Changed
- [bot] Update GitHub Action Versions by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/138
- Update to use organization-scope Personal Access Tokens by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/140
- Update cookiecutter template via cruft by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/143
- Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/144
- Bump peter-evans/create-or-update-comment from 3.1.0 to 4.0.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/148
- Small workflow adjustments by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/152
- Bump github/codeql-action from 3.23.0 to 3.23.2 by @dependabot in https://github.com/Ouranosinc/figanos/pull/145
- Bump mamba-org/setup-micromamba from 1.7.3 to 1.8.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/146
- Bump step-security/harden-runner from 2.6.1 to 2.7.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/150
- Bump peter-evans/find-comment from 2.4.0 to 3.0.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/147
- Update coverage requirement from <7.0.0,>=6.2.2 to >=6.2.2,<8.0.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/149
- Bump github/codeql-action from 3.23.2 to 3.24.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/153
- Bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in https://github.com/Ouranosinc/figanos/pull/154
- Bump black from 24.1.1 to 24.2.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/155
- Bump actions/dependency-review-action from 4.0.0 to 4.1.0 by @dependabot in https://github.com/Ouranosinc/figanos/pull/157
- Bump github/codeql-action from 3.24.0 to 3.24.1 by @dependabot in https://github.com/Ouranosinc/figanos/pull/156
- Bump github/codeql-action from 3.24.1 to 3.24.3 by @dependabot in https://github.com/Ouranosinc/figanos/pull/158
- Facetgrid (multiplots) by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/136
- Prepare for v0.3.0 release by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/159
Full Changelog: https://github.com/Ouranosinc/figanos/compare/v0.2.2...v0.3.0
- Python
Published by sarahclaude over 2 years ago
figanos - v0.2.0
What's Changed
- Add notebook to documentation, address warnings by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/97
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/Ouranosinc/figanos/pull/99
- Fix notebook by @juliettelavoie in https://github.com/Ouranosinc/figanos/pull/98
- Cookiecutter updates via Cruft by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/100
- Fix packaging metadata and latest cookiecutter advancements by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/101
- Prepare v0.2.0 by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/102
New Contributors
- @pre-commit-ci made their first contribution in https://github.com/Ouranosinc/figanos/pull/99
Full Changelog: https://github.com/Ouranosinc/figanos/compare/v0.1.0...v0.2.0
- Python
Published by sarahclaude about 3 years ago
figanos - v0.1.0
What's Changed
- Add cruft-generated package framework by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/1
- Bump pip from 19.2.3 to 21.1 by @dependabot in https://github.com/Ouranosinc/figanos/pull/2
- Dev sc by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/3
- Bump wheel from 0.33.6 to 0.38.1 by @dependabot in https://github.com/Ouranosinc/figanos/pull/10
- timeseries fonctionalité essentielle by @Beauprel in https://github.com/Ouranosinc/figanos/pull/12
- Delete example.py by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/16
- Delete example.py by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/7
- Delete notebook_trials.ipynb by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/4
- Update README.rst by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/8
- gridmap basic functionality by @Beauprel in https://github.com/Ouranosinc/figanos/pull/15
- gridmap() automatic colormap assignment by @Beauprel in https://github.com/Ouranosinc/figanos/pull/17
- change logic of wrap text by @juliettelavoie in https://github.com/Ouranosinc/figanos/pull/18
- Stylesheet by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/11
- "matplotlib" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/6
- timeseries SSP, RCP, CMIP auto color by @Beauprel in https://github.com/Ouranosinc/figanos/pull/22
- Update plot.py by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/5
- Option for shapefile with ax.add_geometries() by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/25
- environment, stylesheet, etc. by @Beauprel in https://github.com/Ouranosinc/figanos/pull/26
- Stylesheets moved and edits by @Beauprel in https://github.com/Ouranosinc/figanos/pull/32
- Utils to get and set mpl style by @Beauprel in https://github.com/Ouranosinc/figanos/pull/34
- Minor bugs / format by @Beauprel in https://github.com/Ouranosinc/figanos/pull/36
- Begin docs by @juliettelavoie in https://github.com/Ouranosinc/figanos/pull/35
- bug fix in setmplstyle by @Beauprel in https://github.com/Ouranosinc/figanos/pull/37
- gridmap features kwargs by @Beauprel in https://github.com/Ouranosinc/figanos/pull/40
- "Added init.py to access functions in matplotlib" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/39
- Docstring adjustments, PEP8, Black by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/38
- "Remove hvplot depreciated files" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/42
- "Remove read shapefile option from geometries_kw in gridmap" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/41
- typo in setmplstyle by @Beauprel in https://github.com/Ouranosinc/figanos/pull/43
- Model colors and pre-commit hook by @Beauprel in https://github.com/Ouranosinc/figanos/pull/44
- Use PEP-563 annotations by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/46
- wrap_text logic by @Beauprel in https://github.com/Ouranosinc/figanos/pull/47
- Format/pep8 by @Beauprel in https://github.com/Ouranosinc/figanos/pull/50
- Docs notebook draft by @Beauprel in https://github.com/Ouranosinc/figanos/pull/49
- gdfmap by @Beauprel in https://github.com/Ouranosinc/figanos/pull/54
- add violin plots fct by @Beauprel in https://github.com/Ouranosinc/figanos/pull/57
- Add stripes fct by @Beauprel in https://github.com/Ouranosinc/figanos/pull/56
- "Fix 59-feature-bug by adding cartopy.feature.with_scale" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/60
- 55 add heatmap function by @Beauprel in https://github.com/Ouranosinc/figanos/pull/66
- CFtime bug in gridmap by @Beauprel in https://github.com/Ouranosinc/figanos/pull/68
- plot_coords location by @Beauprel in https://github.com/Ouranosinc/figanos/pull/67
- Add customization example in docs notebook by @Beauprel in https://github.com/Ouranosinc/figanos/pull/73
- Prevent gridmap from modifying the features dict by @Beauprel in https://github.com/Ouranosinc/figanos/pull/74
- diverging cmaps in gdfmap by @Beauprel in https://github.com/Ouranosinc/figanos/pull/77
- Reversed colormap in create_cmap by @Beauprel in https://github.com/Ouranosinc/figanos/pull/81
- add scattermap by @Beauprel in https://github.com/Ouranosinc/figanos/pull/82
- "Function to add a logo (default Ouranos) on matplotlib axe" by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/84
- Add Taylor diagram by @Beauprel in https://github.com/Ouranosinc/figanos/pull/86
- run docs by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/88
- Harmonize cmap handling in map functions by @Beauprel in https://github.com/Ouranosinc/figanos/pull/87
- Less defaults in gdfmap by @RondeauG in https://github.com/Ouranosinc/figanos/pull/93
- Various fixes by @juliettelavoie in https://github.com/Ouranosinc/figanos/pull/94
- 75 clean up env file and others by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/89
- Rename spirograph to figanos by @sarahclaude in https://github.com/Ouranosinc/figanos/pull/95
- Prepare v0.1.0 by @Zeitsperre in https://github.com/Ouranosinc/figanos/pull/96
New Contributors
- @Zeitsperre made their first contribution in https://github.com/Ouranosinc/figanos/pull/1
- @dependabot made their first contribution in https://github.com/Ouranosinc/figanos/pull/2
- @sarahclaude made their first contribution in https://github.com/Ouranosinc/figanos/pull/3
- @Beauprel made their first contribution in https://github.com/Ouranosinc/figanos/pull/12
- @juliettelavoie made their first contribution in https://github.com/Ouranosinc/figanos/pull/18
- @RondeauG made their first contribution in https://github.com/Ouranosinc/figanos/pull/93
Full Changelog: https://github.com/Ouranosinc/figanos/commits/v0.1.0
- Python
Published by Zeitsperre about 3 years ago