On Sun, Oct 24, 2010 at 16:38, Dave Angel wrote:
> import numpy as np
>
> see
> http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo.py
> for one example. I don't know anything about matplotlib as a whole, this
> was just a lucky shot
Thanks, Dave. That's
On 2:59 PM, Richard D. Moores wrote:
On Sun, Oct 24, 2010 at 13:29, Emile van Sebille wrote:
From people who would know found at
http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html
"""The triangular distribution is often used in ill-defined problems where
the u
On Sun, Oct 24, 2010 at 14:48, Steven D'Aprano wrote:
> Richard D. Moores wrote:
>>
>> NameError: name 'np' is not defined
>
> [...]
>>
>> but where do I get np?
>
>
> I believe that it is common in the scientific python world to do this:
>
> import numpy as np
>
> and then use np.FUNCTION instead
Richard D. Moores wrote:
NameError: name 'np' is not defined
[...]
but where do I get np?
I believe that it is common in the scientific python world to do this:
import numpy as np
and then use np.FUNCTION instead of numpy.FUNCTION.
--
Steven
___
On 24/10/10 21:57, Richard D. Moores wrote:
On Sun, Oct 24, 2010 at 13:29, Emile van Sebille wrote:
From people who would know found at
http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html
"""The triangular distribution is often used in ill-defined problems w
On Sun, Oct 24, 2010 at 13:29, Emile van Sebille wrote:
> From people who would know found at
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html
>
>
> """The triangular distribution is often used in ill-defined problems where
> the underlying distribution is not kn
On 10/24/2010 1:17 PM Richard D. Moores said...
In looking through the doc on the random module I came across
random.triangular():
random.triangular(low, high, mode)
Return a random floating point number N such that low<= N<= high and
with the specified m