Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address invalid link and typo. #6690

Merged
merged 3 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Conversely, what Panel adds on top of Bokeh is full bidirectional communication

**Q: Why is my object being shown using the wrong type of pane?**

**A:** A global set of precedence values is used to ensure that the richest representation of a given object is chosen when you pass it to a Row or Column. For instance, if ``obj`` is "# Some text", it be displayed as a ``pn.Str``, ``pn.HTML``, or ``pn.Markdown``, all of which can render a Python string like that. By default, something like ``pn.Row(obj)`` will select a Markdown pane for the obj, because Markdown has a higher precedence than the other options. If you want to override the default pane type selected, you can specify the precise Pane type you wish, as in ``pn.Row(pane.Str("# Some text"))``, which also allows you to pass in options like ``pn.Row(pane.Str("# Some text", height=300))``. If the default Pane type is fine but you still want to be able to pass specific options like width or height in this way, you can invoke the ``pn.panel`` function to create a defauot pane with the supplied arguments, as in ``pn.Row(pn.panel(obj, height=300))``.
**A:** A global set of precedence values is used to ensure that the richest representation of a given object is chosen when you pass it to a Row or Column. For instance, if ``obj`` is "# Some text", it be displayed as a ``pn.Str``, ``pn.HTML``, or ``pn.Markdown``, all of which can render a Python string like that. By default, something like ``pn.Row(obj)`` will select a Markdown pane for the obj, because Markdown has a higher precedence than the other options. If you want to override the default pane type selected, you can specify the precise Pane type you wish, as in ``pn.Row(pane.Str("# Some text"))``, which also allows you to pass in options like ``pn.Row(pane.Str("# Some text", height=300))``. If the default Pane type is fine but you still want to be able to pass specific options like width or height in this way, you can invoke the ``pn.panel`` function to create a default pane with the supplied arguments, as in ``pn.Row(pn.panel(obj, height=300))``.


**Q: For Matplotlib plots in a notebook, why do I get no plot, two plots, or plots that fail to update?**
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_started/build_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Next, we'll import the Panel JavaScript dependencies using `pn.extension(...)`.
pn.extension(design="material", sizing_mode="stretch_width")
```

Now, let's load the [UCI ML dataset](http://archive.ics.uci.edu/ml/datasets/Occupancy+Detection+) that measured the environment in a meeting room. We'll speed up our application by caching (`@pn.cache`) the data across users:
Now, let's load the [UCI ML dataset](http://archive.ics.uci.edu/dataset/357/occupancy+detection) that measured the environment in a meeting room. We'll speed up our application by caching (`@pn.cache`) the data across users:

```{pyodide}
@pn.cache
Expand Down
Loading