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!

Heatmaps with overlayed markers

How do I overlay markers on a heatmap using the R interface? I tried adding add_trace with type = “scatter” and mode=“marker” after ploting the heatmap, and it works, but I get a warning saying that “markers do not have an attribute z” (along these lines). Am I missing something?