mberk/betfairviz

Dashboard is broken when running on Colaboratory

Opened this issue · 3 comments

mberk commented

I've experienced the following issues:

  1. Dashboard does not display at all. This seems to be related to the plotly graph. If I remove the graph entirely from the dashboard then everything works. However, I can still create the graph by itself so it's some kind of combination of creating the graph in the context of ipywidgets
  2. Slider does not work. This seems to be a problem with using jslink instead of link. See the following issue for a workaround: googlecolab/colabtools#1612
  3. Button icons are not displayed. See this issues for a workaround: googlecolab/colabtools#1302
mberk commented

See the following on SO for how to detect when code is running on Colaboratory: https://stackoverflow.com/questions/53581278/test-if-notebook-is-running-on-google-colab

mberk commented

I don't think it will be possible to get the book percentage graph working in Colaboratory (for now). Some relevant issues are:

mberk commented

Reviewing the above issues, it sounds like it's now possible to use plotly in Colaboratory so this needs another look