Using Panel in Google Colab

Is it possible to use Panel in Google Colaboratory. I can get it to work with
!pip install hvplot
!pip install panel

at the top of the notebook, and everything runs OK … but I don’t get any other output (other than stuff I can print() out).

Thanks for any help,

Chris

Yes, it is possible, but very awkward due to constraints imposed by colab: https://github.com/holoviz/holoviews/issues/3551

Thanks for the heads up. I didn’t know that about Colab.

Chris

Here’s what I do to use it in Colab

  • Add pn.extension() in any cell going to display
  • In some case, I need to update ipykernel !pip install ipykernel -U, then restart runtime.
1 Like