10000 Document "none" as color value by timhoffm · Pull Request #29081 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Document "none" as color value #29081

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

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

timhoffm
Copy link
Member
@timhoffm timhoffm commented Nov 5, 2024

Noted in #29072 (comment)

@github-actions github-actions bot added the Documentation: user guide files in galleries/users_explain or doc/users label Nov 5, 2024
@timhoffm timhoffm added this to the v3.10.0 milestone Nov 5, 2024
@tacaswell
Copy link
Member

Some backends may be more aggressive about not drawing things with color "none" or additionally mess with widths, but I think that is too much detail to put here.

@timhoffm
Copy link
Member Author
timhoffm commented Nov 5, 2024

Some backends may be more aggressive about not drawing things with color "none" or additionally mess with widths, but I think that is too much detail to put here.

That's a separate topic. matplotlib.colors.to_rgba("none") returns (0.0, 0.0, 0.0, 0.0) so it's just a special color name. I assume no backend special-cases the name "none".

@timhoffm timhoffm merged commit 0b6222b into matplotlib:main Nov 5, 2024
21 checks passed
@timhoffm timhoffm deleted the doc-color-none branch November 5, 2024 18:17
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 5, 2024
QuLogic added a commit that referenced this pull request Nov 5, 2024
…081-on-v3.10.x

Backport PR #29081 on branch v3.10.x (Document "none" as color value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: user guide files in galleries/users_explain or doc/users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0