Why do I want to know?
This may seem like a very simple question, but I\'m having some difficulties editing figures with multiple traces using dropdo
Great question! How things really work is that with the method
attribute you're specifying the name of the underlying plotly.js Javascript function you want to apply, and its arguments are drawn from args
. So you're really calling the JS function Plotly.restyle(<fig>, {'y': <whatever>})
. This means that the documentation you're seeking is here: https://plot.ly/javascript/plotlyjs-function-reference/ and more specifically the restyle
function which is here https://plot.ly/javascript/plotlyjs-function-reference/#plotlyrestyle
As you can see it says:
Note, leaving the trace indices unspecified assumes that you want to restyle all the traces.