Skip to content

Commit 36c5fb9

Browse files
fixed some docstring spacing around colons (#6027)
1 parent 307e1c9 commit 36c5fb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pymc/distributions/simulator.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ class Simulator(NoDistribution):
7474
7575
Parameters
7676
----------
77-
fn: callable
77+
fn : callable
7878
Python random simulator function. Should expect the following signature
7979
``(rng, arg1, arg2, ... argn, size)``, where rng is a ``numpy.random.RandomStream()``
8080
and ``size`` defines the size of the desired sample.
81-
params: list
81+
params : list
8282
Parameters used by the Simulator random function. Parameters can also
8383
be passed by order, in which case the keyword argument ``params`` is
8484
ignored. Alternatively, each parameter can be passed by order after fn,
@@ -98,17 +98,17 @@ class Simulator(NoDistribution):
9898
``distance="gaussian"`` + ``sum_stat="sort"`` is equivalent to the 1D 2-wasserstein distance
9999
100100
``distance="laplace"`` + ``sum_stat="sort"`` is equivalent to the the 1D 1-wasserstein distance
101-
sum_stat: Aesara Op, callable or str
101+
sum_stat : Aesara Op, callable or str
102102
Summary statistic function. Available options are ``"indentity"`` (default),
103103
``"sort"``, ``"mean"``, ``"median"``. If a callable (or Aesara Op) is defined,
104104
it should return a 1d numpy array (or Aesara vector).
105-
epsilon: float or array
105+
epsilon : float or array
106106
Scaling parameter for the distance functions. It should be a float or
107107
an array of the same size of the output of ``sum_stat``. Defaults to ``1.0``
108108
ndim_supp : int
109109
Number of dimensions of the SimulatorRV (0 for scalar, 1 for vector, etc.)
110110
Defaults to ``0``.
111-
ndims_params: list[int]
111+
ndims_params : list[int]
112112
Number of minimum dimensions of each parameter of the RV. For example,
113113
if the Simulator accepts two scalar inputs, it should be ``[0, 0]``.
114114
Defaults to ``0`` for each parameter.

0 commit comments

Comments
 (0)