osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Matplotlib - specifying bin widths


On 06/06/2014 10:03, Jamie Mitchell wrote:
> On Thursday, June 5, 2014 4:54:16 PM UTC+1, 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
>
> That's great thanks Mark.
>

No problem :)

In return would you please use the mailing list 
https://mail.python.org/mailman/listinfo/python-list or read and action 
this https://wiki.python.org/moin/GoogleGroupsPython to prevent us 
seeing double line spacing and single line paragraphs, thanks.

-- 
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