File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -149,16 +149,14 @@ def toggle2D_cb(b):
149149 # description='$T_0$',
150150 # layout=Layout(width=constWidth),
151151 # )
152- # self.svg_interval = BoundedIntText(
153152 self .svg_interval = BoundedFloatText (
154- min = 1 ,
153+ min = 0.001 ,
155154 max = 99999999 , # TODO: set max on all Bounded to avoid unwanted default
156155 description = 'every' ,
157156 layout = Layout (width = '160px' ),
158157 )
159- # self.mcds_interval = BoundedIntText(
160158 self .mcds_interval = BoundedFloatText (
161- min = 1 ,
159+ min = 0.001 ,
162160 max = 99999999 ,
163161 description = 'every' ,
164162# disabled=True,
@@ -258,15 +256,13 @@ def fill_gui(self, xml_root):
258256 self .toggle_mcds .value = True
259257 else :
260258 self .toggle_mcds .value = False
261- # self.mcds_interval.value = int(xml_root.find(".//full_data//interval").text)
262259 self .mcds_interval .value = float (xml_root .find (".//full_data//interval" ).text )
263260
264261 # NOTE: do this *after* filling the mcds_interval, directly above, due to the callback/constraints on them
265262 if xml_root .find (".//SVG//enable" ).text .lower () == 'true' :
266263 self .toggle_svg .value = True
267264 else :
268265 self .toggle_svg .value = False
269- # self.svg_interval.value = int(xml_root.find(".//SVG//interval").text)
270266 self .svg_interval .value = float (xml_root .find (".//SVG//interval" ).text )
271267
272268
You can’t perform that action at this time.
0 commit comments