I am trying to keep the outline of the marker fully opaque while having the fillcolor semi-opaque for my scatterplot markers (similar to example 3 in the following link [https://plot.ly/~alex/455/four-ways-to-change-opacity-of-scatter-markers.embed]). I have a colorbar in my scatterplot and have set the color to equal an array for the colorbar - not sure how to incorporate the opacity value into the color specification when assigning an array rather than βrgb(β¦,β¦,β¦,0.5)β like in the documentation. My code:
marker = dict(symbol=5,
size=10,
line=dict(width=1),
colorbar=dict(
title='(V<sub>f</sub>/V<sub>0</sub> = 1/COC)',
nticks=12,
len=0.6,
y=0.7),
colorscale = 'Portland',
cmin=0,
cmax=1,
color = frac_monthly, #Not sure how to incorporate the value for opacity here
showscale=True
)