1515from state_manager import server , state , ctrl , initialize_state
1616from error_manager import error_panel , add_error
1717from utils import (
18+ data_depth_panel ,
1819 load_experiments ,
1920 load_database ,
2021 load_data ,
@@ -271,6 +272,10 @@ def home_route():
271272 with vuetify .VRow ():
272273 with vuetify .VCol ():
273274 par_manager .panel ()
275+ # plots control panel
276+ with vuetify .VRow ():
277+ with vuetify .VCol ():
278+ data_depth_panel ()
274279 # optimization control panel
275280 with vuetify .VRow ():
276281 with vuetify .VCol ():
@@ -279,44 +284,7 @@ def home_route():
279284 with vuetify .VRow ():
280285 with vuetify .VCol ():
281286 mod_manager .panel ()
282- # plots control panel
283- with vuetify .VRow ():
284- with vuetify .VCol ():
285- with vuetify .VExpansionPanels (
286- v_model = ("expand_panel_control_plots" , 0 )
287- ):
288- with vuetify .VExpansionPanel (
289- title = "Control: Plots" ,
290- style = "font-size: 20px; font-weight: 500;" ,
291- ):
292- with vuetify .VExpansionPanelText ():
293- # create a row for the slider label
294- with vuetify .VRow ():
295- vuetify .VListSubheader (
296- "Projected Data Depth" ,
297- style = "margin-top: 16px;" ,
298- )
299- # create a row for the slider and text field
300- with vuetify .VRow (no_gutters = True ):
301- with vuetify .VSlider (
302- v_model_number = ("opacity" ,),
303- change = "flushState('opacity')" ,
304- hide_details = True ,
305- max = 1.0 ,
306- min = 0.0 ,
307- step = 0.025 ,
308- style = "align-items: center;" ,
309- ):
310- with vuetify .Template (v_slot_append = True ):
311- vuetify .VTextField (
312- v_model_number = ("opacity" ,),
313- density = "compact" ,
314- hide_details = True ,
315- readonly = True ,
316- single_line = True ,
317- style = "margin-top: 0px; padding-top: 0px; width: 80px;" ,
318- type = "number" ,
319- )
287+
320288 # plots card
321289 with vuetify .VCol (cols = 8 ):
322290 with vuetify .VCard ():
0 commit comments