Hi there,

I am currently trying to produce a histogram using ggplot, but need to convert the y axis from counts to percentages.

This is a reprex of my current work with ggplot:

```
ggplot(null_distribution,aes(x=stat))+geom_histogram(binwidth=.5)+scale_y_continuous(labels = percent_format())
#> Error in ggplot(null_distribution, aes(x = stat)): could not find function "ggplot"
```

^{Created on 2019-10-23 by the reprex package (v0.3.0)}

I have tried using percent_format, as well as scale_y_continuous. The issue that I'm having is that I cannot remove the extra 0s from my percentages. In other words, 40% is appearing as 40000%. Any help would be appreciated!