Given a simple list of negative values: l = [0, -1, -1, -1, -10, -100]
What's the fastest way to visualize its histogram with the standard method plt.hist(l) ?
I want to be able to see all entries in the list and their relative frequencies.
Doing:
from matplotlib import pyplot as plt
l = [0, -1, -1, -1, -10, -100]
plt.hist(l)
plt.show()
Results in:
What would be the correct way to set the number of the bins in the current case?
Any help highly apprecited


binsargument?