aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 12:12:26 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 12:12:26 -0400
commit090c6ce085378619fe712e076852819d91320fd7 (patch)
tree2dec56dc067aa28f9ca5c6d08f8cfe930fc15d29 /qolab
parent8e22810609966f7f77f5da61ddf438a2b4dc7441 (diff)
downloadqolab-090c6ce085378619fe712e076852819d91320fd7.tar.gz
qolab-090c6ce085378619fe712e076852819d91320fd7.zip
do not create unused variables
Diffstat (limited to 'qolab')
-rw-r--r--qolab/gui/web.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py
index 4951b45..b4bc3ad 100644
--- a/qolab/gui/web.py
+++ b/qolab/gui/web.py
@@ -84,10 +84,10 @@ class QOLCheckbox(jp.Label):
root.data["checked"] = False
root.label = label
root.set_classes(checkbox_classed)
- checkbox = jp.Input(
+ jp.Input(
type="checkbox", model=[root, "checked"], classes="form-checkbox", a=root
)
- caption = jp.Span(text=label, a=root)
+ jp.Span(text=label, a=root)
def getValue(self):
return self.data["checked"]
@@ -105,10 +105,10 @@ class QOLTimeLog(jp.Div):
root.set_classes(panel_div_classes)
dcontrols = jp.Div(a=root)
dcontrols.set_classes(controls_div_classes)
- bclear = QOLPushButtonNoUndo(
+ QOLPushButtonNoUndo(
a=dcontrols, text="Clear log", click=self._clear_data
)
- breplot = QOLPushButton(a=dcontrols, text="Replot", click=self._replot)
+ QOLPushButton(a=dcontrols, text="Replot", click=self._replot)
self.update_interval = QOLParamReadOnly(
label="UpdateInterval", value=5, a=dcontrols
)