• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / figanos
9%

Build:
DEFAULT BRANCH: main
Repo Added 17 Nov 2023 07:07PM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • add-conda
  • cookiecutter-update
  • dependabot-auto-accept
  • dependabot/github_actions/dot-github/workflows/actions-00d9125489
  • dependabot/github_actions/dot-github/workflows/actions-0b040ee008
  • dependabot/github_actions/dot-github/workflows/actions-14dc421481
  • dependabot/github_actions/dot-github/workflows/actions-1509149478
  • dependabot/github_actions/dot-github/workflows/actions-2497424ac9
  • dependabot/github_actions/dot-github/workflows/actions-2627cbfd2b
  • dependabot/github_actions/dot-github/workflows/actions-5f4cd0cf5b
  • dependabot/github_actions/dot-github/workflows/actions-7704b50525
  • dependabot/github_actions/dot-github/workflows/actions-83e021f997
  • dependabot/github_actions/dot-github/workflows/actions-8eb8a9087d
  • dependabot/github_actions/dot-github/workflows/actions-a048ebf1ca
  • dependabot/github_actions/dot-github/workflows/actions-a89a687063
  • dependabot/github_actions/dot-github/workflows/actions-af23a0451d
  • dependabot/github_actions/dot-github/workflows/actions-c717243aad
  • dependabot/github_actions/dot-github/workflows/actions-deb52697c1
  • dependabot/github_actions/dot-github/workflows/actions-e1a44d4a75
  • dependabot/github_actions/dot-github/workflows/actions-f895ca5302
  • dependabot/pip/CI/bump-my-version-1.2.6
  • dependabot/pip/CI/filelock-3.20.3
  • dependabot/pip/CI/pip-2c7469b053
  • dependabot/pip/CI/pip-512858e340
  • dependabot/pip/CI/pip-8177a8837a
  • dependabot/pip/CI/pip-a6aa50acab
  • dependabot/pip/CI/pip-c4ff2e68b4
  • dependabot/pip/CI/tomli-2.3.0
  • dependabot/pip/CI/virtualenv-20.36.1
  • dependabot/pip/black-25.9.0
  • dependabot/pip/blackdoc-0.4.1
  • dependabot/pip/blackdoc-0.4.3
  • dependabot/pip/bump-my-version-0.28.1
  • dependabot/pip/bump-my-version-0.29.0
  • dependabot/pip/bump-my-version-1.1.1
  • dependabot/pip/bump-my-version-1.1.2
  • dependabot/pip/bump-my-version-1.1.4
  • dependabot/pip/bump-my-version-1.2.0
  • dependabot/pip/bump-my-version-1.2.1
  • dependabot/pip/bump-my-version-1.2.3
  • dependabot/pip/deptry-0.23.1
  • dependabot/pip/deptry-0.24.0
  • dependabot/pip/exceptiongroup-1.3.1
  • dependabot/pip/flit-3.10.1
  • dependabot/pip/flit-3.11.0
  • dependabot/pip/flit-3.12.0
  • dependabot/pip/flit-core-3.11.0
  • dependabot/pip/flit-core-3.12.0
  • dependabot/pip/isort-6.0.1
  • dependabot/pip/pip-25.0.1
  • dependabot/pip/pip-25.1
  • dependabot/pip/pip-25.1.1
  • dependabot/pip/pip-25.2
  • dependabot/pip/pip-25.3
  • dependabot/pip/platformdirs-4.3.7
  • dependabot/pip/platformdirs-4.3.8
  • dependabot/pip/platformdirs-4.4.0
  • dependabot/pip/platformdirs-4.5.0
  • dependabot/pip/platformdirs-4.5.1
  • dependabot/pip/pygments-2.19.1
  • dependabot/pip/pylint-3.3.6
  • dependabot/pip/pylint-3.3.7
  • dependabot/pip/pylint-3.3.8
  • dependabot/pip/pylint-3.3.9
  • dependabot/pip/pylint-4.0.4
  • dependabot/pip/sphinx-gte-7.0.0-and-lt-8.3.0
  • dependabot/pip/tox-4.25.0
  • dependabot/pip/tox-4.26.0
  • dependabot/pip/tox-4.27.0
  • dependabot/pip/tox-4.28.4
  • dependabot/pip/tox-4.29.0
  • dependabot/pip/tox-4.30.2
  • div-vmin
  • fix-ci
  • fix-docs
  • fix_rgb_IPCC
  • generalize_rotpole
  • hatchmap_and_scattermap_fixes
  • improve-gdf
  • main
  • pre-commit-ci-update-config
  • prepare-040
  • prepare-v050
  • prepare-v060
  • register-cmap
  • small-improvments
  • solve_xarrayv2025.9.0
  • support-py314
  • unpin-numpy
  • unpin-pint
  • update-cookiecutter
  • use-ouranos-bot

03 Mar 2026 08:09PM UTC coverage: 9.11% (+0.9%) from 8.187%
22640588316

push

github

web-flow
Enregistrement des cmaps de l'IPCC dans matplotlib (#368)

<!-- Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
  - This PR fixes #xyz
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [ ] (If applicable) Tests have been added.
- [x] CHANGELOG.rst has been updated (with summary of main changes).
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

### What kind of change does this PR introduce?

* Suppression de `create_cmap`, on remplace par:
+ `get_ipcc_cmap_name` : Retourne le nom de la colormap à utiliser selon
les variables, la divergence ou le nom directement (auquel cas c'est pas
mal un pass-through)
+ `create_ipcc_cmap` : Renvoie un object colormap pour le nom IPCC de la
colormap. Fonction "privée", pas utile pour les usagers normaux.
* `create_ipcc_cmap` est appelé pour toutes les colormaps connues (i.e.
fichiers txt dans le dossier) et les objets créés sont enregistrés
directement dans `matplotlib.colormaps` et donc sont accessibles via
leur nom.

### Does this PR introduce a breaking change?
Oui. `utils.create_cmap` n'est plus. Il n'est pas nécessaire de créer
les colormaps à chaque fois.

### Other information:
J'ai comparé le temps d'importation de `figanos.matplotlib`
- sur `main`: ~3.9s
- sur cette branche : 4 s

Donc il semble que l'ajout ait un impact, mais 0.1 / 4 me semblait
acceptable.

12 of 36 new or added lines in 2 files covered. (33.33%)

1 existing line in 1 file now uncovered.

173 of 1899 relevant lines covered (9.11%)

0.64 hits per line

Relevant lines Covered
Build:
Build:
1899 RELEVANT LINES 173 COVERED LINES
0.64 HITS PER LINE
Source Files on main
  • Tree
  • List 7
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22640588316 main Enregistrement des cmaps de l'IPCC dans matplotlib (#368) <!-- Please ensure the PR fulfills the following requirements! --> <!-- If this is your first PR, make sure to add your details to the AUTHORS.rst! --> ### Pull Request Checklist: - [ ] Th... push 03 Mar 2026 08:11PM UTC web-flow github
9.11
22640381908 register-cmap Merge 35fdc921e into 2dc2780f0 Pull #368 03 Mar 2026 08:05PM UTC web-flow github
9.11
22629955296 register-cmap Merge 5ea218e5f into 2dc2780f0 Pull #368 03 Mar 2026 03:29PM UTC web-flow github
9.11
22593511700 register-cmap Merge c31979d57 into 2dc2780f0 Pull #368 02 Mar 2026 08:07PM UTC web-flow github
9.11
21524240617 main Prepare v0.6.0 (#384) ### What kind of change does this PR introduce? * Prepares the next minor release (v0.6.0) ### Does this PR introduce a breaking change? No. push 30 Jan 2026 05:16PM UTC web-flow github
8.19
21523587864 prepare-v060 Merge 986a05de5 into e026d48e4 Pull #384 30 Jan 2026 04:53PM UTC web-flow github
8.19
21523162863 main Support Python 3.14 (#383) ### What kind of change does this PR introduce? * Updates a few dependencies to remove pins * Explicitly support Python3.14 * Address an `xarray` deprecation in `figanos_misc.ipynb` ### Does this PR introduce a breaki... push 30 Jan 2026 04:39PM UTC web-flow github
8.19
21521957255 support-py314 Merge 3f6b8eb5a into fb86a76ef Pull #383 30 Jan 2026 03:59PM UTC web-flow github
8.19
21456628398 support-py314 Merge 4472e77f8 into fb86a76ef Pull #383 28 Jan 2026 09:46PM UTC web-flow github
8.19
20971293732 main Bump filelock from 3.20.1 to 3.20.3 in /CI (#382) Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.20.1 to 3.20.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/py-filelock/relea... push 13 Jan 2026 08:21PM UTC web-flow github
8.19
See All Builds (676)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc