Hi, I have another question. I’ve made a (quite cool I think) dashboard which retrieves info on points in a scatter plot when hovering over a point, similar to Jon’s car exploration example:
In my version though I have it set to retrieve the index of a point on hover like in the example using:
def hover_fn(trace, points, state):
ind = points.point_inds
But I can’t get this to work with my code. I was wondering if there was a way to retrieve the X value of a point, rather than the index with points.point_inds? That would fix my problem I think.
I’ve been googling around but can’t figure it out. I might be asking for more than is possible at this stage!