Hi! I have a dash app with a plotly express treemap in Pyhton with multiples levels.
I would like to disable the click-zoom for the lowest level of the hierarchy since zooming on the level has no use because it has no children. I would also like to use the “clickData” from this action to achieve something else in my dash app. Right now, I am able to use the clickData, but every time I click it zooms on the rectangle and I have to back out using the bar at the top of the plot, it is not very convenient for clicking on multiple rectangles in a sequence.
Is there a way to do this?
I have found this thread, which asked a similar question but for all levels, which is not my case, I only want to disable the zoom for one level.
Thank you!