Commit 9b6ab874 authored by Andrija Kostic's avatar Andrija Kostic
Browse files

Update docstring for 'from_random' so that the explanation of the parameters...

Update docstring for 'from_random' so that the explanation of the parameters comes in order as they appear when one calls the method
parent 05fe4e59
Pipeline #75511 passed with stages
in 9 minutes and 19 seconds
...@@ -260,10 +260,10 @@ def from_random(domain, random_type='normal', dtype=np.float64, **kwargs): ...@@ -260,10 +260,10 @@ def from_random(domain, random_type='normal', dtype=np.float64, **kwargs):
Parameters Parameters
---------- ----------
random_type : 'pm1', 'normal', or 'uniform'
The random distribution to use.
domain : Domainoid domain : Domainoid
the intended domain of the output field the intended domain of the output field
random_type : 'pm1', 'normal', or 'uniform'
The random distribution to use.
dtype : type dtype : type
data type of the output field (e.g. numpy.float64) data type of the output field (e.g. numpy.float64)
**kwargs : additional parameters for the random distribution **kwargs : additional parameters for the random distribution
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment