Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72768

Re: Matplotlib - specifying bin widths

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Matplotlib - specifying bin widths
Date 2014-06-05 22:31 +0100
References <6c03b51c-73ba-46b2-a706-368ac084b2c0@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.10771.1402004106.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Matplotlib - specifying bin widths Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-06-05 08:54 -0700
  Re: Matplotlib - specifying bin widths Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-05 22:31 +0100
  Re: Matplotlib - specifying bin widths Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-06-06 02:03 -0700
    Re: Matplotlib - specifying bin widths Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-06 14:37 +0100

csiph-web