I have a function to generate a ScatterGL graph, from which I’m generating a list of html.Div
with differing scatters. As long as I have 8 or less rendered, they display fine. Any more, and some no longer display the markers, even though you can still see the text on hover. Minimal example, my scattergl generating function is called: get_scatter
.
def get_scatter_divs():
scatters = []
for param in range(12):
scatter = html.Div([get_scatter(param)])
scatters.append(scatter)
# scatters = scatters[:8]
return scatters
get_scatter_divs
is called in the layout within a div. As is, 4 of the scatter plots are missing the markers even though the hover data is still viewable. If I uncomment the line, then they all work. I’ve made sure that the figure IDs are all unique, and that I don’t have animate=True
. I’m not really sure how to fix this, as I was hoping to scale up to more plots and creating them all dynamically would be ideal. Any help would be appreciated.
Here’s a gif. When you get the markers to display on one, it removes them from another plot.