Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
52
venv/Lib/site-packages/nbformat/tests/test4custom.ipynb
Normal file
52
venv/Lib/site-packages/nbformat/tests/test4custom.ipynb
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue