Construct Panes
This guide addresses how to construct Pane objects for displaying visible components.
There are two main ways to construct a pane - explicitly or automatically.
To explicitly construct a pane, use one of the pane types listed in the component gallery. For example, you can create a Markdown pane as follows:
Alternatively, you can create a pane using the pn.panel()
utility to automatically infer the pane type from the object being passed as the argument:
Related Resources
Learn more about Panes in Explanation > Components.