Recent Releases of figanos

figanos - v0.5.0

Contributors: Juliette Lavoie (@juliettelavoie), Trevor James Smith (@Zeitsperre).

Changes

  • figanos now 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):
    • numpy has been updated to >=1.25.0 (no longer pinned below 2.0.0).
    • pint has been updated to >=0.18.0.
    • scikit-image has been updated to >=0.21.0.
    • xarray has been updated to >=2023.11.0.

Fixes

  • The fg.utils.get_rotpole function 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

  • 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).

- 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