Skip to content

Add ColorMap widget #5647

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 5 commits into from
Oct 17, 2023
Merged

Add ColorMap widget #5647

merged 5 commits into from
Oct 17, 2023

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Oct 16, 2023

Adds ColorMap widget which was recently added to Bokeh.

Screen Shot 2023-10-16 at 12 37 45

@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #5647 (db5c7d0) into main (a557079) will decrease coverage by 57.74%.
The diff coverage is 35.29%.

@@             Coverage Diff             @@
##             main    #5647       +/-   ##
===========================================
- Coverage   81.89%   24.16%   -57.74%     
===========================================
  Files         288      288               
  Lines       41812    41878       +66     
===========================================
- Hits        34243    10118    -24125     
- Misses       7569    31760    +24191     
Flag Coverage Δ
ui-tests ?
unitexamples-tests 24.16% <35.29%> (-49.53%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
panel/widgets/__init__.py 100.00% <ø> (ø)
panel/pane/ipywidget.py 43.37% <50.00%> (-5.38%) ⬇️
panel/tests/widgets/test_select.py 17.09% <21.73%> (-82.91%) ⬇️
panel/widgets/select.py 35.71% <41.46%> (-59.08%) ⬇️

... and 220 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit af003b8 into main Oct 17, 2023
@philippjfr philippjfr deleted the colormap_widget branch October 17, 2023 10:57
@tupui
Copy link
Contributor

tupui commented Oct 17, 2023

Oh nice 👏 I actually needed something like that and went the route of generating a colormap from a single color. This is way simpler and complete as you really take advantage of existing colormaps. Still in case you are wondering:

https://github.com/Simulation-Decomposition/simdec-python/blob/256afac0a8b9d03dc72398533274cd10bd8446f6/src/simdec/visualization.py#L37-L70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants