Improved param and rx docs #1094
Annotations
2 errors
Test Unit:
tests/testreactive.py#L774
test_docstrings_in_sync
assert '\nThe reacti...aram.a.rx()\n' == '\nThe reacti...aram.a.rx()\n'
Skipping 213 identical leading characters in diff, use -v to show
ression.
+
+ Parameters
+ ----------
+ None
Returns
-------
Reactive expression
The result of calling the reactive namespace is a reactive expression.
User Guide
----------
https://param.holoviz.org/user_guide/Reactive_Expressions.html#special-methods-on-rx
Examples
--------
Create a Parameterized instance:
>>> import param
>>> class P(param.Parameterized):
- ... a = param.Number()
? ^^^
+ >>> a = param.Number()
? ^^^
- >>> p = P(a=1)
+ >>> b = param.String()
+ >>> p = P(a=1, b="hello")
Get the current value:
>>> a = p.param.a.rx.value
Call it to get a reactive expression:
>>> rx_value = p.param.a.rx()
|
Test Unit
Process completed with exit code 1.
|
Loading