You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app uses Tabulator and the FastListTemplate. I want to give Tabulator the fasttheme. But unfortunately this only works on the server. Thus I need to do different things depending on whether I am on server or something else.
Solution
pn.config.environment
where environment value is one of notebook, lab, colab, vscode, server or na.
Additional Context
The comms of pn.extension should be determined using the same functionality.
Sometimes you need to do different things depending on in which environment you are.
For example right now I am developing a notebook with Sophia for a blog post https://github.com/sophiamyang/hvplot_interactive/blob/main/hvplot_interactive.ipynb.
The app uses Tabulator and the FastListTemplate. I want to give Tabulator the
fast
theme
. But unfortunately this only works on the server. Thus I need to do different things depending on whether I am on server or something else.Solution
where
environment
value is one ofnotebook
,lab
,colab
,vscode
,server
orna
.Additional Context
comms
ofpn.extension
should be determined using the same functionality.The text was updated successfully, but these errors were encountered: