Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -374,14 +374,13 @@ def server(input, output, session):
|
|
374 |
|
375 |
},{'selector' :'th', 'props':[('text-align', 'center'),('Height','px'),('color','black'),(
|
376 |
'border', '1px black solid !important')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '18px'),('color','black')]}],overwrite=False).set_properties(
|
377 |
-
**{'background-color':'White','index':'White','min-width':'
|
378 |
-
**{'background-color':'White','index':'White','min-width':'
|
379 |
[{'selector': 'th:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
|
380 |
[{'selector': 'tr:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
|
381 |
[{'selector': 'tr', 'props': [('line-height', '25px')]}],overwrite=False).set_properties(
|
382 |
**{'Height': '10px'},**{'text-align': 'center'},overwrite=False).set_properties(**{'border': '3 px','color':'black'},overwrite=False).set_properties(**{'border': '3 px','color':'black'},overwrite=False).set_properties(
|
383 |
-
**{'border': '1px black solid !important'},subset = ((list(top_d_score.index[:]),top_d_score.columns[:]))).set_properties(
|
384 |
-
**{'min-width':'60px'},subset = ((list(top_d_score.index[:]),top_d_score.columns[:])),overwrite=False).set_properties(**{
|
385 |
'color': 'black'},overwrite=False).set_properties(
|
386 |
**{'border': '1px black solid !important'},subset = ((list(top_d_score.index[:]),top_d_score.columns[:]))).format(
|
387 |
{'L'+str(n_1)+' PP%': '{:.0%}',
|
|
|
374 |
|
375 |
},{'selector' :'th', 'props':[('text-align', 'center'),('Height','px'),('color','black'),(
|
376 |
'border', '1px black solid !important')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '18px'),('color','black')]}],overwrite=False).set_properties(
|
377 |
+
**{'background-color':'White','index':'White','min-width':'100px'},overwrite=False).set_properties(
|
378 |
+
**{'background-color':'White','index':'White','min-width':'200px'},overwrite=False,subset=cols[0]).set_table_styles(
|
379 |
[{'selector': 'th:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
|
380 |
[{'selector': 'tr:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
|
381 |
[{'selector': 'tr', 'props': [('line-height', '25px')]}],overwrite=False).set_properties(
|
382 |
**{'Height': '10px'},**{'text-align': 'center'},overwrite=False).set_properties(**{'border': '3 px','color':'black'},overwrite=False).set_properties(**{'border': '3 px','color':'black'},overwrite=False).set_properties(
|
383 |
+
**{'border': '1px black solid !important'},subset = ((list(top_d_score.index[:]),top_d_score.columns[:]))).set_properties(**{
|
|
|
384 |
'color': 'black'},overwrite=False).set_properties(
|
385 |
**{'border': '1px black solid !important'},subset = ((list(top_d_score.index[:]),top_d_score.columns[:]))).format(
|
386 |
{'L'+str(n_1)+' PP%': '{:.0%}',
|