Preciso de Ajuda como removo legenda ?

como posso remover legenda nessa plotagem?

ggplot(Nordeste_etin_AntiHBcIgm_Nreag,
aes(x= reorder(raça, Total),y= Total, fill= raça))+
geom_col()+

geom_text(aes(label= Total), vjust= -0.4 , size= 3)+

labs(x="",y="Total", fill=NULL)

Use show.legend = FALSE

library(ggplot2)

ggplot(Nordeste_etin_AntiHBcIgm_Nreag, aes(x = reorder(raça, Total),y = Total, fill = raça)) +
    geom_col(show.legend = FALSE) +
    geom_text(aes(label = Total), vjust = -0.4 , size = 3) +
    labs(x = "", y = "Total")
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.