Spaces:
Build error
Build error
freemt
commited on
Commit
•
265100f
1
Parent(s):
99ebf4e
Fix to_html-> render, set_precision in gradiobee.py
Browse files- radiobee/__main__.py +1 -1
- radiobee/gradiobee.py +4 -4
radiobee/__main__.py
CHANGED
@@ -126,7 +126,7 @@ if __name__ == "__main__":
|
|
126 |
time.tzset()
|
127 |
else:
|
128 |
server_name = "127.0.0.1"
|
129 |
-
share =
|
130 |
|
131 |
if debug:
|
132 |
logzero.loglevel(10)
|
|
|
126 |
time.tzset()
|
127 |
else:
|
128 |
server_name = "127.0.0.1"
|
129 |
+
share = True
|
130 |
|
131 |
if debug:
|
132 |
logzero.loglevel(10)
|
radiobee/gradiobee.py
CHANGED
@@ -409,15 +409,15 @@ def gradiobee( # noqa
|
|
409 |
).set_table_styles([{
|
410 |
"selector": "", # noqs
|
411 |
"props": [("border", "2px black solid !important")]}] # noqs
|
412 |
-
).
|
413 |
-
|
414 |
-
)
|
415 |
# .bar(subset="likelihood", color="#5fba7d")
|
416 |
|
417 |
# .background_gradient("Greys")
|
418 |
|
419 |
# df_html = df_aligned.to_html()
|
420 |
-
df_html = styled.to_html()
|
|
|
421 |
|
422 |
# ===
|
423 |
if plot_dia:
|
|
|
409 |
).set_table_styles([{
|
410 |
"selector": "", # noqs
|
411 |
"props": [("border", "2px black solid !important")]}] # noqs
|
412 |
+
).set_precision(2)
|
413 |
+
|
|
|
414 |
# .bar(subset="likelihood", color="#5fba7d")
|
415 |
|
416 |
# .background_gradient("Greys")
|
417 |
|
418 |
# df_html = df_aligned.to_html()
|
419 |
+
# df_html = styled.to_html()
|
420 |
+
df_html = styled.render()
|
421 |
|
422 |
# ===
|
423 |
if plot_dia:
|