-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
TST check the legend instead of label names in CalibrationDisplay #21697
Conversation
versions This was changed in matplotlib 3.5.0 by: matplotlib/matplotlib@e7e6c8c#diff-501b7013d3efa42e08d1cc8dc7a27ee6944fcddb062cd7032249a0031bb01ff4R1641
Is this related to this issue? #21690 |
yes |
There was a problem hiding this 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.
The failure seems linked to this one: #21361 |
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. |
I am merging this one. I will address the other issue as suggested by @ogrisel in the issue. |
…ikit-learn#21697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…ikit-learn#21697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…ikit-learn#21697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…ikit-learn#21697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…ikit-learn#21697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…1697) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
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