deathbeds
works¶from jinja2 import Template
from IPython.display import HTML, display
sheet_id = "1Ffjucc5gnS2PLr5TCmECyfsXttm8ya0bT7nYAYZJkcc"
width = "100%"
height = 650
name = "timeline"
_id = "timeline-embed"
font = "Default"
initial_zoom = 2
embed = Template("""
<iframe
src="https://cdn.knightlab.com/libs/timeline3/latest/embed/index.html?source={{ sheet_id }}&font={{ font }}&lang=en&initial_zoom={{ initial_zoom }}&height={{ height }}" width="{{ width }}" height="{{ height }}"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen
frameborder="0"></iframe>
""")
display(HTML(embed.render(dict(sheet_id=sheet_id,
width=width,
height=height,
name=name,
id=_id,
font=font,
initial_zoom=initial_zoom))))