You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geom_bar provides automatic statistics, example "counts". So when you want to add label, you use in ggplot2
geom_text(aes(x=x, y=..count.. ,label=..count..),stat="count"). and you will have the counts with a label. Is there a way to do this without transforming the data.
For this specific example, makie has the option bar_labels that you can use inside of aes - but the general functionality isn't there, no. Hopefully this will be added in the future
geom_bar provides automatic statistics, example "counts". So when you want to add label, you use in ggplot2
geom_text(aes(x=x, y=..count.. ,label=..count..),stat="count"). and you will have the counts with a label. Is there a way to do this without transforming the data.
the example
The text was updated successfully, but these errors were encountered: