Parcoords line opacity, rgba color not working
Open
@LiamConnors is already working on this.
Since Jul 8, 2024.
bug
P3
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
The documentation specifies that the parcoords' line argument color can be a an rgba string. This doesn't work though and the lines remain a solid color as if using only the rgb part.

import plotly.express as px
import plotly.graph_objects as go
iris = px.data.iris()
fig = go.Figure(
data=go.Parcoords(
line_color="rgba(100,00,0,0.1)",
dimensions=list([
dict(label='sepal_length', values=iris.sepal_length),
dict(label='sepal_width', values=iris.sepal_width),
dict(tickvals=[1, 2, 3],
label='species', values=iris.species_id,
ticktext=iris.species_id.unique()),
]))
)
fig.write_html('parallel.html', auto_open=True)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.