✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Error: Module plotlywidget, semver range ^4.8.0 is not registered as a widget module

Hi I’m using vscode, latest version, with plotly 4.8.1. Tried running one of your wydget demos …tried running on interactive interactive python

trace = go.Heatmap(z=[[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]],
x=[‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’],
y=[‘Morning’, ‘Afternoon’, ‘Evening’])
data=[trace]
layout = go.Layout(title=‘Activity Heatmap’)

figure = go.Figure(data=data, layout=layout)

f2 = go.FigureWidget(figure)
f2

Error: Module plotlywidget, semver range ^4.8.0 is not registered as a widget module