Skip to content

Instantly share code, notes, and snippets.

@theengineear
Last active August 29, 2015 14:00
Show Gist options
  • Save theengineear/11337356 to your computer and use it in GitHub Desktop.
Save theengineear/11337356 to your computer and use it in GitHub Desktop.
# version: 0.5.13
import plotly
py = plotly.plotly('theengineear', 'o9zlr0hy6z')
data = [dict(x=[1,2,3], y=[3,2,3])]
annotation = dict(text="I'm claustrophobic!", bgcolor='red', pad=10)
layout = dict(annotations=[annotation])
py.iplot(data, layout=layout, filename='no annotation pad')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment