Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 24, 2023
1 parent 6236e24 commit 28799b1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions doc/user_guide/Reactive_Expressions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"import param\n",
"import param.ipython\n",
"\n",
"from param import reactive as rx"
"from param import rx"
]
},
{
Expand Down Expand Up @@ -515,7 +515,7 @@
"metadata": {},
"outputs": [],
"source": [
"string_template = param.reactive('Hello {name}!')\n",
"string_template = param.rx('Hello {name}!')\n",
"\n",
"string_template"
]
Expand All @@ -535,7 +535,7 @@
"metadata": {},
"outputs": [],
"source": [
"name = param.reactive('world')\n",
"name = param.rx('world')\n",
"\n",
"str_expr = string_template.format(name=name)\n",
"\n",
Expand Down Expand Up @@ -625,7 +625,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(1).rx.bool()"
"param.rx(1).rx.bool()"
]
},
{
Expand All @@ -645,7 +645,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(2).rx.in_([1, 2, 3])"
"param.rx(2).rx.in_([1, 2, 3])"
]
},
{
Expand All @@ -665,7 +665,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(None).rx.is_(None)"
"param.rx(None).rx.is_(None)"
]
},
{
Expand All @@ -685,7 +685,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(None).rx.is_not(None)"
"param.rx(None).rx.is_not(None)"
]
},
{
Expand All @@ -705,7 +705,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive([1, 2, 3]).rx.len()"
"param.rx([1, 2, 3]).rx.len()"
]
},
{
Expand All @@ -725,7 +725,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(1).rx.pipe(add, 2)"
"param.rx(1).rx.pipe(add, 2)"
]
},
{
Expand All @@ -735,7 +735,7 @@
"metadata": {},
"outputs": [],
"source": [
"param.reactive(8).rx.pipe(str)"
"param.rx(8).rx.pipe(str)"
]
},
{
Expand Down Expand Up @@ -855,7 +855,7 @@
"metadata": {},
"outputs": [],
"source": [
"condition = param.reactive(True)"
"condition = param.rx(True)"
]
},
{
Expand Down

0 comments on commit 28799b1

Please sign in to comment.