Skip to content

Upgrade matplotlib API for colormaps#452

Merged
eagoetz merged 1 commit into
gwpy:masterfrom
eagoetz:fix-get-cmap
Jul 16, 2026
Merged

Upgrade matplotlib API for colormaps#452
eagoetz merged 1 commit into
gwpy:masterfrom
eagoetz:fix-get-cmap

Conversation

@eagoetz

@eagoetz eagoetz commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Fixes an error when using matplotlib>=3.9. This change necessitates updating the dependency requirements to matplotlib>=3.9

See https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.9.0.html#top-level-cmap-registration-and-access-functions-in-mpl-cm

Fixes an error when using matplotlib>=3.9. This change necessitates updating the dependency requirements to matplotlib>=3.9
@eagoetz eagoetz added this to the 2.4.1 milestone Jul 16, 2026
@eagoetz eagoetz self-assigned this Jul 16, 2026
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.24%. Comparing base (a98ce75) to head (6b04136).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #452   +/-   ##
=======================================
  Coverage   49.24%   49.24%           
=======================================
  Files          60       60           
  Lines        8810     8810           
=======================================
  Hits         4338     4338           
  Misses       4472     4472           
Flag Coverage Δ
Linux-python3.10 49.24% <100.00%> (ø)
Linux-python3.11 49.22% <100.00%> (ø)
macOS-python3.10 49.24% <100.00%> (ø)
macOS-python3.11 49.22% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eagoetz
eagoetz requested review from areeda and robertbruntz July 16, 2026 15:59

@areeda areeda left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eagoetz
eagoetz merged commit 0cf6a71 into gwpy:master Jul 16, 2026
11 of 12 checks passed
@eagoetz
eagoetz deleted the fix-get-cmap branch July 16, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants