@@ -481,6 +481,7 @@ def _init_runs_table_component(self):
481481 def _init_reduction_table_component (self ):
482482 reduce_button = widgets .Button (description = "Reduce" )
483483 plot_button = widgets .Button (description = "Plot" )
484+ self .progress_log = widgets .VBox ([])
484485
485486 def reduce_data (_ ):
486487 self .log ("reduce data" )
@@ -535,7 +536,7 @@ def delete_row(_):
535536
536537 add_row_button .on_click (add_row )
537538 delete_row_button .on_click (delete_row )
538- data_buttons = widgets .HBox ([reduce_button , plot_button ])
539+ data_buttons = widgets .HBox ([reduce_button , plot_button , self . progress_log ])
539540
540541 self .reduction_table_component = widgets .VBox (
541542 [
@@ -563,19 +564,10 @@ def delete_row(_):
563564 )
564565
565566 def _init_display_component (self ):
566- self .progress_log = widgets .VBox ([])
567567 self .plot_log = widgets .VBox ([])
568568 self .display_component = widgets .VBox (
569- [
570- widgets .VBox (
571- [widgets .Label ("Progress" ), self .progress_log ],
572- layout = {'width' : '100%' , 'margin' : '10px 0' },
573- ),
574- widgets .VBox (
575- [widgets .Label ("Plots" ), self .plot_log ],
576- layout = {'width' : '100%' , 'margin' : '10px 0' },
577- ),
578- ]
569+ [widgets .Label ("Plots" ), self .plot_log ],
570+ layout = {'width' : '100%' , 'margin' : '10px 0' },
579571 )
580572
581573 def _init_settings_component (self ):
0 commit comments