52 lines
883 B
Text
52 lines
883 B
Text
{
|
|
"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
|
|
}
|