holoviz / holoviz/hvplot

Scatter Plot alpha settings have no effect in combination with linked_selection

Open
#577 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Hello, at the moment i try to change the alpha settings for my scatter point visualization.

### Wanted behavior

I want to have transparent points at all times because of different layers behind the Scatter point layer.

### Actual behavior

The parameters shown in the code example below have no effect. All points at the beginning or selected points are 100% solid instead of transparent. Only points outside of the selection have the default transparency (which i could not change with `nonselection_alpha`.

### Code example

I am not sure if this is a bug. Perhaps i put the parameters at the wrong position. But the parameters were suggested in a warning when i misspelled them before.
```python
import hvplot.pandas
import holoviews as hv

settings_points = {
'color': "red",
'size': 40
}

ls(df.hvplot.scatter('x','y',nonselection_alpha=0.3,selection_alpha=0.3, alpha=0.3, **settings_points).opts(active_tools=["wheel_zoom"]))
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.