hub/venv/lib/python3.7/site-packages/nbformat/tests/test4custom.ipynb

53 lines
883 B
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"application/vnd.raw.v1+json": {
"apples": [
"🍎",
"🍏"
],
"bananas": 2,
"oranges": "apples"
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"import IPython\n",
"\n",
"bundle = {}\n",
"bundle['application/vnd.raw.v1+json'] = {\n",
" 'apples': ['🍎', '🍏'],\n",
" 'bananas': 2,\n",
" 'oranges': 'apples'\n",
"}\n",
"\n",
"IPython.display.display(bundle, raw=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
},
"nbformat": 4,
"nbformat_minor": 2
}