Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Marker with opacity by value, but constant line (marker edge) opactipy

I’m trying to plat marker where maker opacity is changed by some vector.
But marker edge color opacity is constant.

   fig.add_trace(go.Scatter(x=real.index, y=real['some_value'],
                             mode='markers',
                             marker={'opacity': real['another value'],
                                     'color':'green',
                                     'size':10,
                                     'line':dict(width=1,
                                                 color='rgba(165,42,42,1)')}
                            ))

It can be shown in plot below, that the marker edge color opacity, is changed together with color opacity.
My purpose to keep line (marker edge ) opacity constant.

image