版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有...
There doesn't appear to be any way to tell ggplot these fill values are expected in order to suppress the warnings. The closest I can see is something likescale_fill_viridis_c(na.value = "transparent", trans = "log"), which plots fine since apparently -Inf, NaN, and NA are treated...