Can I remove "size" from the hover data?


I’m trying to build up a scatter plot using plotly express, where the size of the points depends on a variable that could sometimes be zero - lets call it “sign ups”. For those points that are 0, the scatter plot was originally not showing them. To fix this, I added a constant to the column containing the variable, and set size to be that, and all of the points are now being displayed.

Additionally, I added the “sign ups” variable to hover_data so that the original values for the variable are shown. But, the “sign ups” + 5 (i.e. size) also appears when I hover over it. Is there any way for me to get rid of size when I hover over the data? It’s just a bit annoying and I can’t figure out how to get rid of it.

Thank you!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.