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!

How to set up background color for R Plotly Heat Map?

How to set up background color for R Plotly Heat Map?


The white one here is actially a “Extremely Hot” spot but it got lost in the white background.

You might want to take a look at Adding "invalid" values to a heatmap

and its associated R code: https://plot.ly/~etpinard/7415/heatmap-with-custom-nan-layer.r

Let me know if you need more help.