import panel as pn | |
import pandas as pd | |
import altair as alt | |
# we want to use bootstrap/template, tell Panel to load up what we need | |
pn.extension(design='bootstrap') | |
# we want to use vega, tell Panel to load up what we need | |
pn.extension('vega') | |
# create a basic template using bootstrap | |
template = pn.template.BootstrapTemplate( | |
title='SI649 test', | |
) | |
maincol = pn.Column() | |
maincol.append("# Markdown Title") | |
template.main.append(maincol) | |
# Indicate that the template object is the "application" and serve it | |
template.servable(title="SI649 test") |