Matplotlib - specifying bin widths
Mark Lawrence
breamoreboy at yahoo.co.uk
Thu Jun 5 17:31:03 EDT 2014
On 05/06/2014 16:54, Jamie Mitchell wrote:
> Hello all!
>
> Instead of setting the number of bins I want to set the bin width.
>
> I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
>
> How do I say this in the code?
>
> Cheers,
>
> Jamie
>
This should help
http://stackoverflow.com/questions/6986986/bin-size-in-matplotlib-histogram
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the Python-list
mailing list