FigureWidget and GraphWidget not working in colab

My goal is to use a widget connected to a line chart that allows the user to view pieces of timeseries data by date. I assume using FigureWidget would be the best way. However…

The following does not work in colab:

import plotly.graph_objects as go

f = go.FigureWidget()
f
  • should I be using FigureWidgets for this scenario?

  • if so, how do i get them to work in colab?

Note: I’ve also tried this example. The widgets show up. The plot does not. This makes assume GraphWidget is not working.

thank you.

I’m experiencing the same problem. Is there any workaround?