Skip to content

Add ColorMap widget - #5647

Merged
philippjfr merged 5 commits into
mainfrom
colormap_widget
Oct 17, 2023
Merged

philippjfr merged 5 commits into
mainfrom
colormap_widget

Conversation

@philippjfr

@philippjfr philippjfr commented Oct 16, 2023 •

Copy link
Copy Markdown
Member

Adds ColorMap widget which was recently added to Bokeh.

Screen Shot 2023-10-16 at 12 37 45

@codecov

codecov Bot commented Oct 16, 2023 •

Copy link
Copy Markdown

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

tupui commented Oct 17, 2023 •

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants