get_cmap is a function of matplotlib.pyplot since version 3.8.0 - #1059
Conversation
for this change and matplotlib>=3.8.0 pinned
pariterre
left a comment
There was a problem hiding this comment.
@pariterre reviewed 3 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on siboles).
|
@pariterre as an outside contributor I don't have the option to merge. I saw the comment "(waiting on siboles)". I give my approval for the merge. |
|
@siboles Can you confirm why one test fails with the following output? |
|
@pariterre bioptim/bioptim/gui/check_conditioning.py Line 132 in a5f8133 is the culprit. The test is parametrizing over two The quick fix is to just add |
pariterre
left a comment
There was a problem hiding this comment.
Is this related to the current PR? I am not sure I understand why but check_conditioning was effectively changed... Will "clear=True" delete the figures or create a new one?
@pariterre made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on siboles).
|
@pariterre It is not related to this PR. I only did a top-level trace of the error, so I'm not exactly sure how the subplots are being compiled. I believe the |
|
This PR is now blocking all newly opened PRs: the current CI resolves Matplotlib 3.11.1, and every test shard fails during collection with ImportError: cannot import name 'get_cmap' from 'matplotlib.cm'. PRs #1062 and #1063 both show the same repository-wide failure before their changed code is exercised. @pariterre, this PR is approved and mergeable; merging it should unblock the current CI queue. |
|
This PR seems to work locally, even though CI tests fail. I will accept it so the other PR can merge it. We can deal with the failing tests later if needed |
Addressing issue #1058 @pariterre
Fixed for this change and
matplotlib>=3.8.0pinned inenvironment.yaml.This was a very minor fix and did not affect the environment resolution. No tests failed due to this change. Some are failing for unrelated reasons.
Expand for failed test log
All Submissions:
New Feature Submissions:
black . -l120 --exclude "external/*")?Changes to Core Features:
This change is