Hovertext not showing for large dataset

Hello,

I am creating a web app that displays upwards of 3000 points in px.density_mapbox, and displays some information on hover, but this functionality only works when only a few points are displayed (say, by filtering down).

307fd9b1-c14b-4833-9edd-75777f1af631

As shown in the image, when include more than a few, no hovertext is displayed. Is there a limit the the number of datapoints that can be displayed with hoverinfo?

Can I display this information with a few thousands of datapoints?

Thank you in advance?

I figured out that the problem was that there were some inf values in the lat and lon columns of my dataframe. No problem now!

2 Likes

@juanastian,

Welcome to the community!

Glad you figured it out!

1 Like