8000 TST check the legend instead of label names in CalibrationDisplay by jjerphan · Pull Request #21697 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

TST check the legend instead of label names in CalibrationDisplay #21697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jjerphan
Copy link
Member
@jjerphan jjerphan commented Nov 17, 2021

Reference Issues/PRs

Fixes #21690.

What does this implement/fix? Explain your changes.

test_calibration_display_default_labels[None-_line1] fails on main:
https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=35071&view=logs&j=78a0bf4f-79e5-5387-94ec-13e67d216d6e&t=f1857171-4a53-55c7-3ab5-90acfe091baa&l=482

This originated from a change made in matplotlib 3.5.0 by:
matplotlib/matplotlib@e7e6c8c#diff-501b7013d3efa42e08d1cc8dc7a27ee6944fcddb062cd7032249a0031bb01ff4R1641

It should fix the failing test.

Any other comments?

/cc @glemaitre

@adrinjalali
Copy link
Member

Is this related to this issue? #21690

@glemaitre
Copy link
Member

yes

@glemaitre glemaitre changed the title FIX Unify AxesSubplot string representation for labels across matplotlib versions TST check the legend instead of label names in CalibrationDisplay Nov 17, 2021
Copy link
Member
@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I don't understand all the details but if it fixes the CI, let's merge quickly. The new tests look nice.

@glemaitre
Copy link
Member

The failure seems linked to this one: #21361
It seems to not be reproducible.

@adrinjalali
Copy link
Member

But that one's not reproduced after upgrading scipy? It seems like we can actually close that one since the OP can't reproduce it and it's fixed for them.

@glemaitre
Copy link
Member

I am merging this one. I will address the other issue as suggested by @ogrisel in the issue.

jjerphan added a commit to jjerphan/scikit-learn that referenced this pull request Nov 18, 2021
…ikit-learn#21697)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Nov 22, 2021
…ikit-learn#21697)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Nov 29, 2021
…ikit-learn#21697)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Dec 24, 2021
…ikit-learn#21697)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit that referenced this pull request Dec 25, 2021
…1697)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
@jjerphan jjerphan deleted the fix/test_calibration_display_label_class_plot-matplotlib-3.5.0 branch October 21, 2022 14:04
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.

CI failure on test_iterative_imputer_catch_warning
4 participants
0