You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly Plotly.restyle(gd, {"marker.opacity": 0.1}); seems to work fine, as does the trace.opacity attribute on the initial draw - it's just Plotly.restyle(gd, {"opacity": 0.1}); that fails.
@dfcreative you probably just have to explicitly define opacity in scattergl/attributes, like we do in eg surface/attributes so you can get editType: 'calc' instead of editType: 'style' that you get from the base opacity attribute. And assuming that fixes it, take a quick spin through the rest of those base attributes and see if anything else is broken the same way.
@alexcjohnson thank, fixed in a9d387a. Making ScatterGl.styleto do options recalculation (that is required to update opacity, since resulting opacity depends on trace.opacity, marker.opacity and color alpha) would be unnecessary complexity and mostly duplication.
https://codepen.io/cpsievert/pen/Rxzzzz
cc @dfcreative
The text was updated successfully, but these errors were encountered: