##// END OF EJS Templates
Merge pull request #6828 from takluyver/terminal-list...
Merge pull request #6828 from takluyver/terminal-list Add terminals tab to the dashboard

File last commit:

r17101:945ec056
r18615:96791286 merge
Show More
SVG.ipynb
52 lines | 1.1 KiB | text/plain | TextLexer
Julia Evans
Start adding tests from runipy
r17082 {
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"from IPython.display import SVG"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"SVG(data='''\n",
"<svg height=\"100\" width=\"100\">\n",
" <circle cx=\"50\" cy=\"50\" r=\"40\" stroke=\"black\" stroke-width=\"2\" fill=\"red\" />\n",
"</svg>''')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 2,
"svg": [
"<svg height=\"100\" width=\"100\">\n",
" <circle cx=\"50\" cy=\"50\" fill=\"red\" r=\"40\" stroke=\"black\" stroke-width=\"2\"/>\n",
"</svg>"
],
"text": [
"<IPython.core.display.SVG at 0x10428e150>"
]
}
],
"prompt_number": 2
}
],
"metadata": {}
}
]
}