File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,10 @@ def draw_session_plots(df_to_draw_session):
110110 except :
111111 date_str = key ["session_date" ].split ("T" )[0 ]
112112
113- st .markdown (f'''<h5 style='text-align: center; color: orange;'>{ key ["subject_id" ]} ({ key ["PI" ]} ), Session { int (key ["session" ])} , { date_str } '''
114- f'''( { key ["trainer" ]} @ { key ["data_source" ]} )''' ,
113+ st .markdown (f'''<h6 style='text-align: center; color: orange;'>{ key ["subject_id" ]} ({ key ["PI" ]} ), { date_str } , Session { int (key ["session" ])} <br> '''
114+ f'''{ key ["trainer" ]} @ { key [ "rig" ] } ( { key ["data_source" ]} )''' ,
115115 unsafe_allow_html = True )
116+
116117 if len (st .session_state .session_plot_selected_draw_types ) > 1 : # more than one types, use the pre-defined layout
117118 for row , column_setting in enumerate (draw_type_layout_definition ):
118119 rows .append (this_major_col .columns (column_setting ))
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ def draw_session_plots_quick_preview(df_to_draw_session):
9797 except :
9898 date_str = key ["session_date" ].split ("T" )[0 ]
9999
100- st .markdown (f'''<h5 style='text-align: center; color: orange;'>{ key ["subject_id" ]} ({ key ["PI" ]} ), Session { int (key ["session" ])} , { date_str } '''
101- f'''( { key ["trainer" ]} @ { key ["data_source" ]} )''' ,
100+ st .markdown (f'''<h6 style='text-align: center; color: orange;'>{ key ["subject_id" ]} ({ key ["PI" ]} ), { date_str } , Session { int (key ["session" ])} <br> '''
101+ f'''{ key ["trainer" ]} @ { key [ "rig" ] } ( { key ["data_source" ]} )''' ,
102102 unsafe_allow_html = True )
103103
104104 rows = []
You can’t perform that action at this time.
0 commit comments