Here is my Python code, which gives me a plot:
from plotly import __version__ from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot import