Skip to content

FIX: Warn when trying to set_facecolor on a array-mapped Collection #29715

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Mar 7, 2025

Colormapping array data takes precedence and an explicit facecolor is thus ignored. We now issue a warning because this should not pass silently.

Closes #27555.

Colormapping array data takes precedence and an explicit facecolor
is thus ignored. We now issue a warning because this should not
pass silently.

Closes matplotlib#27555.
@timhoffm
Copy link
Member Author

timhoffm commented Mar 7, 2025

Woopsie, test failures are real. We seem to set_facecolor internally a lot even though it should not have an effect. 👀

@timhoffm timhoffm marked this pull request as draft March 7, 2025 22:54
@ksunden ksunden modified the milestones: v3.10.2, v3.10.3 May 2, 2025
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.

[Bug]: scatter set_facecolor does not work if the colors were manually set during the initial scatter call
2 participants