We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2222caf commit a4f58e7Copy full SHA for a4f58e7
src/neuroquery_image_search/_searching.py
@@ -33,11 +33,11 @@ def studies_to_html_table(studies):
33
studies.style.bar(
34
subset=["Similarity"], color="lightgreen", width=98, vmin=0.0
35
)
36
- .hide_index()
37
- .hide_columns(["pmid", "title", "pubmed_url"])
+ .hide(axis=0)
+ .hide(["pmid", "title", "pubmed_url"], axis=1)
38
.format({"Similarity": "{:.2f}"})
39
.set_table_attributes('class="studies-table"')
40
- .render()
+ .to_html()
41
42
return table
43
@@ -67,10 +67,10 @@ def terms_to_html_table(terms):
67
terms.style.bar(
68
subset=["Similarity"], color="lightgreen", width=95, vmin=0.0
69
70
71
72
.set_table_attributes('class="terms-table"')
73
74
75
76
0 commit comments