import plotly.offline as py from plotly.graph_objs import * import numpy as np from numpy import pi, cos, sin, exp, log, sqrt py.init_notebook_mode()