holoviz / holoviz/datashader

Colormap alpha support

Open
#1,404 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
3.6k
Forks
376
Avg merge
4h 32m
Merged PRs (30d)
1

Description

Looks like `transfer_functions.shade()` only allows dynamic alpha when the `cmap` is a single color. That is, if an arbitrary RGBA colormap is passed as `cmap`, the alpha value of that colormap is ignored and a global alpha value is applied to the RGB values pulled from the colormap. Is this the intended behavior?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with transfer_functions.shade() and trace how an arbitrary RGBA cmap is handled alongside the global alpha value. Confirm the intended behavior for colormap alpha, then add focused regression coverage; the work is done when the selected alpha behavior is implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.