Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -539,7 +539,11 @@ def server(input, output, session):
|
|
539 |
w, h = table[0,1].get_width(), table[0,1].get_height()
|
540 |
cell_i = table.add_cell(0, -1, w,h, text='Pitch Type')
|
541 |
cell_i.get_text().set_horizontalalignment('left')
|
542 |
-
|
|
|
|
|
|
|
|
|
543 |
# Set table properties
|
544 |
|
545 |
table.auto_set_font_size(False)
|
|
|
539 |
w, h = table[0,1].get_width(), table[0,1].get_height()
|
540 |
cell_i = table.add_cell(0, -1, w,h, text='Pitch Type')
|
541 |
cell_i.get_text().set_horizontalalignment('left')
|
542 |
+
|
543 |
+
min_font_size = 12
|
544 |
+
|
545 |
+
if len(df_plot) >3:
|
546 |
+
min_font_size = 10
|
547 |
# Set table properties
|
548 |
|
549 |
table.auto_set_font_size(False)
|