Hello everyone,

this is my first post here so I hope I don’t ask something too trivial.

I have a vector of matrices, each of same size, and I am able to plot a single one of them as a heatmap with PlotlyJS by accessing the index of where the matrix can be found in the vector. I added a minimal working example code below.

I would like to add a slider to the plot such that you can view how the heatmap changes while iterating through the vector. I know from here that it should be possible with Plotly Layout Atrributes but I do not get it to work, so I’d really appreciate your help!

```
using PlotlyJS
DataVector = [[0 0 0; 1 0 1; 2 1 2],
[1 3 3; 4 2 4; 5 3 5]]
HeatmapVector = []
#Convert Matrices to Heatmaps
for d in DataVector
Heatmap_i = heatmap(z = d)
push!(HeatmapVector, Heatmap_i)
end
#HERE SHOULD BE A SLIDER, SUCH THAT I DO NOT
#HAVE TO ACCESS THE INDEX [1] or [2] below
#SO I CAN ACCESS EACH HEATMAP BY USING THE SLIDER
layout = Layout(xaxis_side="top")
plot(HeatmapVector[2],layout)
```

thank you very much for your help!