Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update for checking whether colors have an alpha channel#27327

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

Merged
rcomer merged 16 commits intomatplotlib:mainfromlandoskape:alpha-channel-update
Jan 6, 2025
Merged
Changes from1 commit
Commits
Show all changes
16 commits
Select commitHold shift + click to select a range
0586383
Update _has_alpha_channel
landoskapeNov 15, 2023
9719b60
Update lib/matplotlib/colors.py
landoskapeNov 15, 2023
77e759f
Clarify comment explanation
landoskapeNov 15, 2023
5d7edca
Remove unnecessary check about is_color_like
landoskapeNov 21, 2023
e7220c8
update docstring for undefined case
landoskapeJan 3, 2025
0cf3612
Deprecate unused method
landoskapeJan 3, 2025
e2099e6
Remove unnecessary method
landoskapeJan 4, 2025
5ac2c0f
Flake formatting update
landoskapeJan 4, 2025
212363e
Don't specify what an undefined result does
landoskapeJan 4, 2025
73127eb
Recursive check which handles hex colors too
landoskapeJan 4, 2025
c3cf8d4
Whitespace
landoskapeJan 4, 2025
b81786c
Remove is_color_like check and explain
landoskapeJan 5, 2025
80d422d
Don't discuss undefined results
landoskapeJan 5, 2025
bbe6fa2
Remove test of undefined result
landoskapeJan 5, 2025
de5e42d
Spelling error
landoskapeJan 6, 2025
0813e13
improved grammar in comment
landoskapeJan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Remove test of undefined result
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
  • Loading branch information
@landoskape@timhoffm
landoskape andtimhoffm authoredJan 5, 2025
commitbbe6fa2adcc3b74bc88e3cc8ae8e6e14c88f7fb4
1 change: 0 additions & 1 deletionlib/matplotlib/tests/test_colors.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1243,7 +1243,6 @@ def test_has_alpha_channel():
assert not mcolors._has_alpha_channel('#0f0f0f')
assert not mcolors._has_alpha_channel(('r', None))
assert not mcolors._has_alpha_channel(([1, 1, 1], None))
assert not mcolors._has_alpha_channel(1) # non-colors don't have alpha channels


def test_cn():
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp