The answer appears to be “no.” As brad previously stated in this thread:
brad:
If you manually play around with the Plotly.js library, you’ll see that
Plotly.extendTraces
is only intended to extend existing traces. That is, any (and all) keys (e.g.x
ory
) must be array attributes.
It seems that trying to set “color” (which is set in the “marker” dictionary of a trace) when extending a trace will invoke a similar error as when trying to set name.
Somebody please correct me if I’m wrong! This is a topic that is also of great interest to me.