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