✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Show number of poins on hover in densitymapbox

Hi
I am creating a plotly.express.density_mapbox using lat, lon and constant value 1 of length as size of my data. When I hover my mouse on the map, I could see lat, lon and z as 1.

Can you help me to show the the total number of points in that area when I hover?