Re: python numpy histogram

2019-06-18 Thread Machiel Kolstein
Thank you for your fast reply. You're right, I completely missed the fact that range should be given with two numbers (which in retrospect should have been obvious). Best regards, Machiel -- Avís - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es -- https://ma

Re: python numpy histogram

2019-06-18 Thread Peter Otten
Machiel Kolstein wrote: > > Hi, > > I get the following error: > > ERROR: > Traceback (most recent call last): > File "exponential_distr.py", line 32, in > numpy.histogram(data_array, bins=100, range=2) > File "/usr/lib/python2.7/dist-packages/numpy/lib/function_base.py", line >