0

Y axis values on histogram make no sense

i am trying to make a histogram showing how many timestamps are in each half an hour range (i got the code for that from the internet) i have 3 between 9:30-10:00 and 11 between 10:00-10:30 the x axis shows the :00s and :30s, but the y axis has values that are not integers and don’t seem to correspond to how many timestamps are in that range in any way… i have been googling this problem in many ways but i cannot find anything about it :( please help me https://code.sololearn.com/caDDt9w7PYx8/?ref=app

20th Jul 2023, 6:56 PM
alepou
alepou - avatar
2 Antworten
+ 2
The y-axis shows the density. If you want the frequency, type ?hist into the console and check the documentation: freq must be TRUE to show the frequency. If you want to change the bins, also check the docs.
20th Jul 2023, 7:20 PM
Lisa
Lisa - avatar
0
Lisa thank you so much
20th Jul 2023, 7:41 PM
alepou
alepou - avatar