Canât get a simple example table to show as separate offline plot. Get a javascript error:
import pandas as pd
import plotly.plotly as py
import plotly.graph_objs as go
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected=False)
trace = go.Table(
header=dict(values=[âA Scoresâ, âB Scoresâ]),
cells=dict(values=[[100, 90, 76,76],
[80, 90,45,48],
]))
layout = dict(width=500, height=300)
data = [trace]
fig = dict(data=data, layout=layout)
iplot(fig, filename = âbasic_table.htmlâ) #shows ok in jupyter notebook
plot(fig, filename = âbasic_table.htmlâ) #doesnât show in separate browser windows with javascript error