import matplotlib.pyplot as plt day = [0, 1, 2, 3, 4, 5] # time from 0 to 5 am average_bpm = [78, 92, 68, 99] plt.hist(average_bpm, day, label=\'p1\', histtype=\'bar