Plotly.graph_objs problem

most plotly charts are published using datapane but plotly.graph_objs module is not supported or another problem?

import pandas as pd
import datapane as dp
import plotly.offline as py
import plotly.graph_objs as go

df = pd.read_csv(‘https://raw.githubusercontent.com/HakkiKaanSimsek/Python_Dersleri/master/2.gorsellestirme/data/all_stocks_5yr.csv’)
goog= df[df.Name==‘GOOG’]

data = go.Box(
y=goog.close,
name = ‘GOOG Close’)

fig=py.iplot(dict(data=data))

r = dp.Report(dp.Plot(fig))
r.publish(name=‘test’, open=True)

Thanks for the note Kaan! So for using GO I think you need to get the figure and not use iplot - as that is tied to IPython.

To do this the following should work:

dp.Plot(go.Figure(data))

Thanks Leo! Your solution works. We could archive the topic.