{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# A timeline of `deathbeds` works"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"from jinja2 import Template"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import HTML, display"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"sheet_id = \"1Ffjucc5gnS2PLr5TCmECyfsXttm8ya0bT7nYAYZJkcc\"\n",
"width = \"100%\"\n",
"height = 650\n",
"name = \"timeline\"\n",
"_id = \"timeline-embed\"\n",
"font = \"Default\"\n",
"initial_zoom = 2"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"embed = Template(\"\"\"\n",
"\n",
"\"\"\")"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"display(HTML(embed.render(dict(sheet_id=sheet_id, \n",
" width=width, \n",
" height=height, \n",
" name=name, \n",
" id=_id, \n",
" font=font,\n",
" initial_zoom=initial_zoom))))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"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.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}