Skip to content

Commit 9daae35

Browse files
improved docs for SumTo1, Ordered instantiations
1 parent 8ad2c03 commit 9daae35

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pymc/distributions/transforms.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ def extend_axis_rev(array, axis):
370370
ordered = Ordered(ndim_supp=1)
371371
ordered.__doc__ = """
372372
Instantiation of :class:`pymc.distributions.transforms.Ordered`
373-
for use in the ``transform`` argument. """
373+
for use in the ``transform`` argument of a random variable.
374+
This instantiation is for backwards compatibility only.
375+
Please use `univariate_ordererd` or `multivariate_ordered` instead."""
374376

375377
log = LogTransform()
376378
log.__doc__ = """
@@ -391,7 +393,9 @@ def extend_axis_rev(array, axis):
391393
sum_to_1 = SumTo1(ndim_supp=1)
392394
sum_to_1.__doc__ = """
393395
Instantiation of :class:`pymc.distributions.transforms.SumTo1`
394-
for use in the ``transform`` argument of a random variable."""
396+
for use in the ``transform`` argument of a random variable.
397+
This instantiation is for backwards compatibility only.
398+
Please use `univariate_sum_to_1` or `multivariate_sum_to_1` instead."""
395399

396400
circular = CircularTransform()
397401
circular.__doc__ = """

0 commit comments

Comments
 (0)