Is it possible to define a filter transform for the first time in Plotly.restyle
?
Here is an attempt to do this: https://jsfiddle.net/3gfztdja/6
I can see that the transforms object gets added to the data object in the plot, but that filter does not seem to be applied. It works if I define a trivial filter in Plotly.newPlot
and then just restyle the filter value. However I am curious why my example linked above doesn’t work.