line = create_line(energy_per_capita)
bar = create_bar(energy_per_capita)
layout = hplot(line, bar)
curdoc().add_root(layout)
curdoc().add_periodic_callback(update, 500)
session.show() // open the document in a browser
After Change
values being plotted. When user changes the values on the excel spreadsheet
the plots will be updated accordingly. It"s not required to save the spreadsheet for the plots to update.
)
layout = vplot(desc1, desc2, desc3, hplot(line, bar))
curdoc().add_root(layout)
curdoc().add_periodic_callback(update, 500)
session.show() // open the document in a browser