In [1]:
# Taking care of jupyter environment 
# show graphs in-line, and turn on/off pretty_printing of lists
%matplotlib inline 
%pprint           
Pretty printing has been turned OFF
In [2]:
import plotly
import plotly.graph_objs as go
import numpy as np   # So we can use random numbers in examples

# Must enable in order to use plotly off-line (vs. in the cloud... hate cloud)
plotly.offline.init_notebook_mode()