Skip to content

Instantly share code, notes, and snippets.

@chrisalbon
Created July 1, 2015 17:15
Show Gist options
  • Select an option

  • Save chrisalbon/2d07b745a7e378cd2685 to your computer and use it in GitHub Desktop.

Select an option

Save chrisalbon/2d07b745a7e378cd2685 to your computer and use it in GitHub Desktop.

Revisions

  1. chrisalbon created this gist Jul 1, 2015.
    109 changes: 109 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,109 @@
    {
    "cells": [
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "# Testing Popily Embeds In Project Jupyter"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 10,
    "metadata": {
    "collapsed": false
    },
    "outputs": [
    {
    "data": {
    "text/html": [
    "\n",
    " <iframe\n",
    " width=\"600\"\n",
    " height=\"700\"\n",
    " src=\"http://popily.com/explore/discovery/cause-of-death-ratio-of-each-cause-of-death-33/?embed=true\"\n",
    " frameborder=\"0\"\n",
    " allowfullscreen\n",
    " ></iframe>\n",
    " "
    ],
    "text/plain": [
    "<IPython.lib.display.IFrame at 0x104a2f400>"
    ]
    },
    "execution_count": 10,
    "metadata": {},
    "output_type": "execute_result"
    }
    ],
    "source": [
    "from IPython.display import IFrame\n",
    "IFrame('http://popily.com/explore/discovery/cause-of-death-ratio-of-each-cause-of-death-33/?embed=true', width=600, height=700)"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 8,
    "metadata": {
    "collapsed": false
    },
    "outputs": [
    {
    "data": {
    "text/html": [
    "\n",
    " <iframe\n",
    " width=\"600\"\n",
    " height=\"1200\"\n",
    " src=\"http://popily.com/explore/discovery/state-count-of-each-state-3/?embed=true\"\n",
    " frameborder=\"0\"\n",
    " allowfullscreen\n",
    " ></iframe>\n",
    " "
    ],
    "text/plain": [
    "<IPython.lib.display.IFrame at 0x104a2f278>"
    ]
    },
    "execution_count": 8,
    "metadata": {},
    "output_type": "execute_result"
    }
    ],
    "source": [
    "from IPython.display import IFrame\n",
    "IFrame('http://popily.com/explore/discovery/state-count-of-each-state-3/?embed=true', width=600, height=1200)"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": null,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": []
    }
    ],
    "metadata": {
    "kernelspec": {
    "display_name": "Python 3",
    "language": "python",
    "name": "python3"
    },
    "language_info": {
    "codemirror_mode": {
    "name": "ipython",
    "version": 3
    },
    "file_extension": ".py",
    "mimetype": "text/x-python",
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
    "version": "3.4.3"
    }
    },
    "nbformat": 4,
    "nbformat_minor": 0
    }