Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

How do I hide hoverinfo depending on the data?


I have a bar chart that’s has a fair few traces. Due to this the hover is fairly busy. Is there a way for me to hide the hover text when the ‘y’ value is 0? The hoverinfo is set to ‘y+text’, and the text is assigned a single string value across the entire trace.