Access Pane Type#

This guide addresses how to access the Pane Type.


To access the type for a given component, use the print function. This can come in handy when a component was created in such a way where the type was not explicitly specified, such as with pn.panel as described on the How to construct panes page.

import panel as pn
pn.extension() # for notebook

example_pane = pn.panel('https://upload.wikimedia.org/wikipedia/commons/b/b1/Loading_icon.gif', width=500)

print(example_pane)
GIF(str, width=500)