Open your console and try a few things:
1 - Click, hover, or zoom on points in the my_graph. You'll see the messages printed and you can add
custom callbacks to these events.
2 - Make new plots on the client with the postMessage API:
graphs.my_graph.graphContentWindow.postMessage({
'task': 'newPlot',
'data': [
{
'x': [1,2,3],
'y': [10,20,30],
'type': 'scatter'
}],
'layout': {'title': 'new title'}
}, 'https://plot.ly')