简体   繁体   中英

Python : Plotly - Parallel Coordinates - Color of unmarked lines

I have the following question. I am using plotlys parallel coordinates and I need the unmarked lines to appear in another color than the standard gray as it is as default. Is there any option to do that?

Best regards ![在此处输入图片描述 ] 1

You can try someting like that

import plotly.plotly as py
import plotly.graph_objs as go
data = [
    go.Parcoords(
        marker = dict(
            size = 10,
            color = 'rgba(152, 0, 0, .8)', # default
            line = dict(
                width = 2,
                color = 'rgb(0, 0, 0)'
            )
        )
    )
]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM