Skip to content

fix: remove unused kwargs from disort plot calls for matplotlib 3.11 compatibility#1135

Merged
riclarsson merged 1 commit into
atmtools:mainfrom
olemke:remove-unused-kwargs
Jun 23, 2026
Merged

fix: remove unused kwargs from disort plot calls for matplotlib 3.11 compatibility#1135
riclarsson merged 1 commit into
atmtools:mainfrom
olemke:remove-unused-kwargs

Conversation

@olemke

@olemke olemke commented Jun 22, 2026

Copy link
Copy Markdown
Member

Drop the explicit alts/freqs/plotstyle arguments from the pyarts.plot calls in the clearsky-flux examples. pltstyle is unused. alts/freqs are unused since they're part of the DisortFlux class.

kwargs that are not consumed by the plot function are eventually passed to contourf. Since matplotlib 3.11, contourf does not accept unknown kwargs anymore causing a runtime error.

Drop the explicit alts/freqs/plotstyle arguments from the
pyarts.plot calls in the clearsky-flux examples. pltstyle is unused.
alts/freqs are unused since they're part of the DisortFlux class.

kwargs that are not consumed by the plot function are eventually passed
to contourf. Since matplotlib 3.11, contourf does not accept unknown
kwargs anymore causing a runtime error.
@riclarsson riclarsson merged commit 7492c1d into atmtools:main Jun 23, 2026
11 of 13 checks passed
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