mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
change some bokeh stuff
This commit is contained in:
parent
45502535ae
commit
126e7bf8b0
|
@ -14,7 +14,7 @@ import os
|
||||||
|
|
||||||
from bokeh.io import curdoc
|
from bokeh.io import curdoc
|
||||||
from bokeh.layouts import column, row
|
from bokeh.layouts import column, row
|
||||||
from bokeh.models import ColumnDataSource, Slider, TextInput, Button, Paragraph
|
from bokeh.models import ColumnDataSource, Slider, TextInput, Button, Paragraph, Div
|
||||||
from bokeh.plotting import figure
|
from bokeh.plotting import figure
|
||||||
|
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
@ -227,7 +227,7 @@ def update_models(attrname=None, old=None, new=None):
|
||||||
|
|
||||||
|
|
||||||
# GUI elements
|
# GUI elements
|
||||||
vbat_text = Paragraph(text="Battery Voltage: ? V")
|
vbat_text = Div(text="Battery Voltage: ? V")
|
||||||
|
|
||||||
cal_white_button = Button(label="Cal White")
|
cal_white_button = Button(label="Cal White")
|
||||||
cal_white_button.on_click(cal_white)
|
cal_white_button.on_click(cal_white)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user