A Polished Notebook

This Jupyter presentation looks nice. Because it hides many of the Jupyter elements and makes code visibility optional (see button on top), it is appropriate for non-technical audiences or for those who just want a quick summary of your results. For instructions on how to do this, see my blog post.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

In [1]:
import plotly
import plotly.graph_objs as go
import string
import numpy as np
plotly.offline.init_notebook_mode() 

x = np.random.randn(26)
y = x + np.random.randn(26)
labels = ['Observation ' + c for c in list(string.ascii_uppercase)]

trace = go.Scatter(
    x=x,
    y=y,
    mode='markers',
    marker=dict(size='13'),
    text=labels,
    hoverinfo='x+text',
    name="Sample Data",
)

fig = dict(data=[trace], layout={})
fig['layout']['xaxis'] = dict(title='Variable X')
fig['layout']['yaxis'] = dict(title='Variable Y')
 
plotly.offline.iplot(fig, show_link=False)