Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Expand ScalarMappable.set_array to accept array-like inputs#18870
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
aitikgupta commentedNov 2, 2020
Note: I didn't pay much attention to the test, as I think it would be better to change the |
e7efa10 to9b926fdCompareaitikgupta commentedNov 4, 2020
QuLogic left a comment
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.
This seems like something@efiring just looked at?
Uh oh!
There was an error while loading.Please reload this page.
jklymak commentedDec 17, 2020
If that fixes the problem more places, I'd suggest proposing that instead... As it is, this PR is a little scanty on justification. |
tacaswell commentedDec 17, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
9b926fd to1e017edCompareaitikgupta commentedDec 18, 2020
I made the changes, but I'm not sure about the location of the test; there's no |
Uh oh!
There was an error while loading.Please reload this page.
aitikgupta commentedDec 30, 2020
I updated the PR summary, hopefully making this a bit easier to understand. |
efiring commentedDec 30, 2020
If#18480 goes in, |
jklymak commentedJan 5, 2021
I'm going to mark as draft until#18480 can be finished but please ping us if that takes too long! |
a071304 to9cc32b0Compareaitikgupta commentedApr 29, 2021
Rebased, finished the tests and handled this^ |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
aitikgupta commentedMay 6, 2021
@jklymak does this still require comment/discussion (label)? |
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
imshowallowsset_arrayto pass lists,Collectiondoes not. (Since_ImageBaseoverridesset_arrayofScalarMappable, adding the ability to passarray-likeinputs, and copy the input so changing list after calling function doesn't affect the plots)This PR expands the
ScalarMappableclass to make a copy of the original input and casting it to arrays.Fixes#18841
PR Checklist
pytestpasses).flake8on changed files to check).flake8-docstringsand runflake8 --docstring-convention=all).doc/users/next_whats_new/(follow instructions in README.rst there).doc/api/next_api_changes/(follow instructions in README.rst there).