Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Is there a way to render a trace only at certain zoom level?

I have a barplot with over 10k individual bars. While rendering bars appears to be very fast, adding text labels to every bar is slow, not to mention they would overlap at the default zoom. Is there a way to show text labels only at the particular magnification level? Not only it would be more aesthetically pleasing but also could have sped up plot rendering.