I would like to create a px.scatter() figure with multiple āline-nsā markers at different orientation angles.
Is it possible to pass an array to the āupdate_tracesā marker dict?
fig.update_traces(marker=dict(angle="can I put an array here?))
Another way would be to add multiple traces to fig, a trace for every marker.
The angle argument accepts one number between -180 and 180 only. I think the behavior of the marker styling is not consistent, the symbol argument accepts a list as does the color argument.
Hm, I also noticed that for example for ācolorā you can pass a list of strings.
For the angular values, I also got the following message when trying to pass a list:
ValueError:
Invalid value of type ābuiltins.listā received for the āangleā property of scatter.marker
Received value: [{10, 100, 45}]
The 'angle' property is a angle (in degrees) that may be
specified as a number between -180 and 180. Numeric values outside this
range are converted to the equivalent value
(e.g. 270 is converted to -90).