Hi. Sorry for not share a working example. I'm doing a map in ggplot, but I don't see a way to format the label so that only two decimal places appear. See here:
In the dataframe the number seems to be formatted correctly (last column on the right):
Any idea how I can fix it?
This is the code:
ggplot(map)+
geom_sf(aes(fill=`relacion`), colour = "white", size = 0.07) +
geom_sf_text(aes(label = relacion), size = 2.5, colour = "white") +
scale_fill_distiller(palette = "Blues", name="") +
theme_map()
Thanks and sorry again for not provide something replicable.