Remove legend in tmap in R

后端 未结 2 1750
忘了有多久
忘了有多久 2021-01-20 05:14

I have a simple question: How does one remove an automatically added legend in tmap in R?

In this case, I want to remove that legend on the right, depicting \'level\

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-20 06:12

    Instead of tm_polygons use tm_fill(title = "") to remove the legend title. This worked for me.

提交回复
热议问题