<filename>bokehapp/main.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul  9 16:46:32 2019

@author: <NAME> 
"""

# Pandas for data management
import pandas as pd

# os methods for manipulating paths
from os.path import dirname, join

# Bokeh basics 
from bokeh.io import curdoc
from bokeh.models.widgets import Tabs


# Each tab is drawn by one script
from scripts.table import table
from scripts.graph import graph


# Create each of the tabs
tab1 = table()
tab2 = graph()

# Put all the tabs into one application
tabs = Tabs(tabs = [tab1, tab2])

# Put the tabs in the current document for display
curdoc().add_root(tabs)


<filename>bokehapp/main.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul  9 16:46:32 2019

@author: <NAME> 
"""

# Pandas for data management
import pandas as pd

# os methods for manipulating paths
from os.path import dirname, join

# Bokeh basics 
from bokeh.io import curdoc
from bokeh.models.widgets import Tabs


# Each tab is drawn by one script
from scripts.table import table
from scripts.graph import graph


# Create each of the tabs
tab1 = table()
tab2 = graph()

# Put all the tabs into one application
tabs = Tabs(tabs = [tab1, tab2])

# Put the tabs in the current document for display
curdoc().add_root(tabs)


#!/usr/bin/env python3 # -*- coding: utf-8 -*- Created on Tue Jul  9 16:46:32 2019  @author: <NAME> # Pandas for data management # os methods for manipulating paths # Bokeh basics # Each tab is drawn by one script # Create each of the tabs # Put all the tabs into one application # Put the tabs in the current document for display