From 6f2a47f8e587cf80c0d34ebc725e5d48c8a86c6f Mon Sep 17 00:00:00 2001 From: iury simoes-sousa Date: Tue, 14 Nov 2023 13:42:42 -0500 Subject: [PATCH] fix typo in the docstring and an explanation for `interactive.panel()` and `interactive.widgets()` (#1186) --- examples/user_guide/Interactive.ipynb | 2 +- hvplot/interactive.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/user_guide/Interactive.ipynb b/examples/user_guide/Interactive.ipynb index 7f4f336f1..2a472e567 100644 --- a/examples/user_guide/Interactive.ipynb +++ b/examples/user_guide/Interactive.ipynb @@ -405,7 +405,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "If you want more control over the layout, you can use any of the features from [Panel](https://panel.holoviz.org):" + "If you want more control over the layout, you can use any of the features from [Panel](https://panel.holoviz.org). In this case, `interactive.panel()` (or `interactive.output()`) make sure you display the interactive plot only, with the widgets explicitly declared by `interactive.widgets()`:" ] }, { diff --git a/hvplot/interactive.py b/hvplot/interactive.py index 8b6ec286b..1c4b825ed 100644 --- a/hvplot/interactive.py +++ b/hvplot/interactive.py @@ -492,7 +492,7 @@ def __call__(self, *args, **kwargs): Examples -------- - >>> widget = panel.wid7ugets.IntSlider(value=1, start=1, end=5) + >>> widget = panel.widgets.IntSlider(value=1, start=1, end=5) >>> dfi = df.interactive(width=200) >>> dfi.head(widget) """