-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add color_util.py, which will be used by native charts in next few PRs. #6826
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
sfc-gh-tteixeira
merged 10 commits into
streamlit:develop
from
sfc-gh-tteixeira:color_util
Jun 24, 2023
Merged
Add color_util.py, which will be used by native charts in next few PRs. #6826
sfc-gh-tteixeira
merged 10 commits into
streamlit:develop
from
sfc-gh-tteixeira:color_util
Jun 24, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
willhuang1997
approved these changes
Jun 23, 2023
I see some failure on type checking for python but I personally don't understand why it's failing when the length is 4 and it should have a 4th element. However, I added the labels for the pull request so that should fulfill some of the github actions checks! I asked chat-gpt and it gave me a terrible response 😆
|
Fixed by casting to a 4-tuple. |
tconkling
added a commit
to tconkling/streamlit
that referenced
this pull request
Jun 26, 2023
* develop: Add color_util.py, which will be used by native charts in next few PRs. (streamlit#6826)
Closed
Merged
eric-skydio
pushed a commit
to eric-skydio/streamlit
that referenced
this pull request
Dec 20, 2023
…s. (streamlit#6826) * Add color_util.py, which will be used by native charts in next few PRs. * Trying to fix typing * Fix color_util typing * Output tuples * Small code adjustments, plus typing improvements * Cleaning up some code * Resolve comments. * Better comments.
zyxue
pushed a commit
to zyxue/streamlit
that referenced
this pull request
Mar 22, 2024
…s. (streamlit#6826) * Add color_util.py, which will be used by native charts in next few PRs. * Trying to fix typing * Fix color_util typing * Output tuples * Small code adjustments, plus typing improvements * Cleaning up some code * Resolve comments. * Better comments.
zyxue
pushed a commit
to zyxue/streamlit
that referenced
this pull request
Apr 16, 2024
…s. (streamlit#6826) * Add color_util.py, which will be used by native charts in next few PRs. * Trying to fix typing * Fix color_util typing * Output tuples * Small code adjustments, plus typing improvements * Cleaning up some code * Resolve comments. * Better comments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
Introduce a library for handling/converting colors in Python. This library isn't used yet, but it will be in a couple of follow-up PRs. The reason I'm sending this PR this way is to make it easier to review all the code!
This is part of the work to:
GitHub Issue Link (if applicable)
None
Testing Plan
Explanation of why no additional tests are needed
n/a
Unit Tests (JS and/or Python)
✅
E2E Tests
n/a
Any manual testing needed?
No. This isn't library connected to anything right now
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.