Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Tune the opacity of edges in (network) graph

Hello !

I’m really new to plotly (this afternoon :smile: ), and already with a lot of questions !!

Is it possible to tune the opacity of Scatter lines ? (You might find my question really similar to this one…)

I mainly tried to apply the tips explained there 4 ways to change opacity of scatter makers (using RGBA, markers with embedded opacity), without great results. Please find above the piece of code I try to modify :

edge_trace = pygo.Scatter(
                                x=[], 
                                y=[],
                                line=pygo.Line(width=0.5,color='black'),# <--- This is the line to change/replace
                                hoverinfo='none',
                                mode='lines')

Thank you for your time and understanding !
Achille