How to make the Dashboards example work on Google Colabs?

Hi @SteveAKopias

I feel your love and pain :slight_smile:

My ideas would be

  1. There is a question + answer on stack overflow How to make the Holoviews show graph on Google Colaboratory notebook? - Stack Overflow. You could try that out.

image

  • If you cannot get it working you should file a bug report to get it fixed.
  • If you think the HoloViews documentation should be improved then a feature request.
  • If you think Google Colab should support this better then you could file a feature request on their github.
  1. I know Panel supports a special initialization pn.extension(comms='colab') to work in colab or alternatively that the pn.extension() is run in each cell. See https://panel.holoviz.org/

You could try to experiment with that as well or provide a PR to HoloViews based on that code.

  1. If you expose your example as a Panel app you could potentially get it hosted at PyViz Topics Examples — Examples 0.1.0 documentation or Awesome Panel (awesome-panel.org).

I use binder my self and aside from the loading time it works great I belive. Check out the binder links at