def to_jupyter(graph: BELGraph, chart: Optional[str] = None) -> Javascript:
with open(os.path.join(HERE, '<STR_LIT>'), '<STR_LIT>') as f:<EOL><INDENT>js_template = Template(f.read())<EOL><DEDENT>return Javascript(js_template.render(**_get_context(graph, chart=chart)))<EOL>
Render the graph as JavaScript in a Jupyter Notebook.