Skip to content

Instantly share code, notes, and snippets.

@arsenovic
Created July 22, 2014 21:49
Show Gist options
  • Save arsenovic/4bcd00c7d9800a7577e8 to your computer and use it in GitHub Desktop.
Save arsenovic/4bcd00c7d9800a7577e8 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "",
"signature": "sha256:3fd7cbbdf2af58c116c2e5e79f0b5618a77b323cea61e2a8c0871afaef108f06"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"import plotly.plotly as py\n",
"from plotly import tools as tls\n",
"fig = figure()\n",
"plot(rand(100))\n",
"py.iplot_mpl(fig, filename='jank', world_readable=True)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\"seamless=\"seamless\" src=\"https://plot.ly/~arsenovic/165\" height=\"525\" width=\"100%\"></iframe>"
],
"metadata": {},
"output_type": "display_data",
"text": [
"<IPython.core.display.HTML at 0xc176690>"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"py.iplot_mpl(fig, filename='jank', world_readable=False)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\"seamless=\"seamless\" src=\"https://plot.ly/~arsenovic/165\" height=\"525\" width=\"100%\"></iframe>"
],
"metadata": {},
"output_type": "display_data",
"text": [
"<IPython.core.display.HTML at 0xc2d2450>"
]
}
],
"prompt_number": 4
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment