I am trying to create a candle stick chart using the plot.ly follow this simple example. However, jupyter notebook gave a error message that 

'Figure' object has no attribute 'show'

This is the screenshot. 


Any suggestion? 

It took me a while to figure out that the import of the plot.ly should be 

import plotly.graph_objs as go

Whereas most documents say 

import plotly.graph_objects as go

Coud this be a similar issue?