Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Change color on selection (update more graphs)

Example 1

The above code works as expected. Upon click, a data point is selected (coloured) in both graphs.

This topic was created in regard to the same functionality, but for scatter3d. If you change the trace type to ‘scatter3d’, the program crashes (caught in a on-click loop). The minimum example to showcase the error is as follows:

Example 2 - doesn’t work

The problem stems from restyling a scatter3d graph upon click. I’m fairly new to both plotly and javascript. Pointers in the right direction are appreciated, especially if I’m missing something elementary.

That’s known bug: unfortunately.

Thanks, I should have checked there before.