Hovertext not showing for large dataset


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).


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!



Welcome to the community!

Glad you figured it out!

1 Like