File tree 1 file changed +5
-5
lines changed
src/neuroquery_image_search
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ def studies_to_html_table(studies):
33
33
studies .style .bar (
34
34
subset = ["Similarity" ], color = "lightgreen" , width = 98 , vmin = 0.0
35
35
)
36
- .hide_index ( )
37
- .hide_columns (["pmid" , "title" , "pubmed_url" ])
36
+ .hide ( axis = 0 )
37
+ .hide (["pmid" , "title" , "pubmed_url" ], axis = 1 )
38
38
.format ({"Similarity" : "{:.2f}" })
39
39
.set_table_attributes ('class="studies-table"' )
40
- .render ()
40
+ .to_html ()
41
41
)
42
42
return table
43
43
@@ -67,10 +67,10 @@ def terms_to_html_table(terms):
67
67
terms .style .bar (
68
68
subset = ["Similarity" ], color = "lightgreen" , width = 95 , vmin = 0.0
69
69
)
70
- .hide_index ( )
70
+ .hide ( axis = 0 )
71
71
.format ({"Similarity" : "{:.2f}" })
72
72
.set_table_attributes ('class="terms-table"' )
73
- .render ()
73
+ .to_html ()
74
74
)
75
75
return table
76
76
You can’t perform that action at this time.
0 commit comments