Created
January 7, 2016 23:48
-
-
Save nehalecky/b2507694fcd26679362a to your computer and use it in GitHub Desktop.
Setup Jupyter Notebook with Plot.ly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Can be copied to ~/.ipython/profile_default/startup/ | |
import pandas as pd | |
import numpy as np | |
# Add plotly | |
import plotly | |
import plotly.plotly as py | |
from plotly.graph_objs import * | |
from plotly.offline import download_plotlyjs, init_notebook_mode, iplot | |
print("Plotly version: " + plotly.__version__) # version 1.9.x required | |
plotly.offline.init_notebook_mode() # run at the start of every notebook | |
#import cufflinks as cf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment