from IPython.core.display import HTML import urllib2 HTML(urllib2.urlopen('https://raw.githubusercontent.com/plotly/python-user-guide/master/custom.css').read())