Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Getting click events from Dash for clicks/hovers that aren't on a trace (usecase: get the currently hovered/clicked subplot)

Hi there.

Following the example here https://dash.plotly.com/interactive-graphing , I am able to fire a callback in dash whenever the user clicks/hovers on one of the datapoints that are plotted.

However, I would like to show contextual information (from dash, through a callback) when the user hovers or clicks on one of the subplots of a plot - but not necessarily one of the datapoints.

Is there a way that I can get a callback to fire whenever the whole subplot (or, alternatively, when /any/ point withing the subplot) is hovered or clicked?

Thanks!