File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ def sensitivity_indices_table(si, inputs):
103103 frozen_rows = [- 1 ],
104104 # page_size=5,
105105 # pagination='local',
106+ layout = "fit_columns" ,
106107 )
107108 widget .style .apply (
108109 lambda x : ["font-style: italic" ] * 3 , axis = 1 , subset = df .index [- 1 ]
@@ -412,16 +413,18 @@ def csv_data(
412413 pn .panel (interactive_tableau , loading_indicator = True ),
413414)
414415
415- template .main [4 :7 , 0 :4 ] = pn .Column (
416- pn .pane .Markdown ("## Sensitivity Indices" , styles = {"color" : blue_color }),
417- pn .panel (interactive_sensitivity_indices_table , loading_indicator = True ),
418- )
419-
420416template .main [4 :7 , 6 :12 ] = pn .Column (
421417 pn .pane .Markdown ("## Details on inputs' states" , styles = {"color" : blue_color }),
422418 pn .panel (interactive_tableau_states , loading_indicator = True ),
423419)
424420
421+ template .main [4 :7 , 0 :4 ] = pn .Column (
422+ pn .pane .Markdown ("## Sensitivity Indices" , styles = {"color" : blue_color }),
423+ pn .panel (interactive_sensitivity_indices_table , loading_indicator = True ),
424+ width_policy = "fit" ,
425+ max_width = 500 ,
426+ )
427+
425428# Header
426429icon_size = "1.5em"
427430
You can’t perform that action at this time.
0 commit comments