Skip to content

DOC Fix seaborn warning - #34524

Merged
lesteve merged 3 commits into
scikit-learn:mainfrom
betatim:fix-seaborn-warning-from-matplotlib-3.11
Jul 20, 2026
Merged

lesteve merged 3 commits into
scikit-learn:mainfrom
betatim:fix-seaborn-warning-from-matplotlib-3.11

Conversation

@betatim

@betatim betatim commented Jul 20, 2026

Copy link
Copy Markdown
Member

Reference Issues/PRs

Fixes #34521

What does this implement/fix? Explain your changes.

Filter a warning emitted by seaborn with matplotlib 3.11.0. I learnt about _get_warnings_filters_info_list and think this is a good way to deal with this. An alternative would have been to rewrite the example but I think this filtering is a better way of doing it.

AI usage disclosure

I used AI assistance for:

  • Research and understanding

Filter a warning emitted by seaborn with matplotlib 3.11.0
@lesteve

lesteve commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Thanks for the PR, this does seem like a reasonable work-around if that works and I agree with avoiding to make the example code convoluted.

Side-comment: I am not sure when/if a seaborn>=0.13.2 release will happen. 0.13.2 is the last release and was released in January 2024. There has been no release since but it looks like there was a surge of activity in the repo two weeks ago so 🤞.

@betatim betatim changed the title DOC Fix seaborn warning [doc build] DOC Fix seaborn warning Jul 20, 2026

@lesteve lesteve left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@lesteve
lesteve enabled auto-merge (squash) July 20, 2026 13:55
@lesteve
lesteve merged commit ba726c5 into scikit-learn:main Jul 20, 2026
32 checks passed
@betatim
betatim deleted the fix-seaborn-warning-from-matplotlib-3.11 branch July 20, 2026 14:32
prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks done
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc CI failure due to seaborn bug

2 participants