I have the following example code in a jupyter notebook, where I use plotly offline in order to do a scatter plot:
#import import numpy as np import pandas as pd