Parcoords line opacity, rgba color not working
Offen
@LiamConnors arbeitet bereits daran.
Seit 08.7.2024.
bug
P3
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
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)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.