I am using Plots.jl to make a histogram. I would like to have control over the bin size, but I can’t seem to find anything specifically saying how to do this in the documentation (or in other posts).
I have an array with all integer values in it, and I would like to create a histogram with bins with a width of exactly 1. I would expect that there is something similar to this that works:
histogram(my_array, binwidth = 1)
Thank you in advance