Parcoords line opacity, rgba color not working
Đang mở
@LiamConnors đang làm issue này rồi.
Từ ngày 8/7/2024.
bug
P3
- Ngôn ngữ chính
- Python
- Star
- 18.8k
- Fork
- 2.8k
- Merge trung bình
- 16 giờ 26 phút
- Pull request đã merge (30 ngày)
- 21
Mô tả
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)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.