darthPanda commited on
Commit
5976712
·
1 Parent(s): ce9c373
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -436,6 +436,8 @@ elif len(uploaded_file)>0:
436
  fig.add_trace(table_trace2, row=38, col=4)
437
 
438
  import textwrap
 
 
439
  wrapped_title = "\n".join(textwrap.wrap(title, width=50))
440
 
441
  # Add HTML tags to force line breaks in the title text
 
436
  fig.add_trace(table_trace2, row=38, col=4)
437
 
438
  import textwrap
439
+ if len(title) > 120:
440
+ title = title[:120] + '...'
441
  wrapped_title = "\n".join(textwrap.wrap(title, width=50))
442
 
443
  # Add HTML tags to force line breaks in the title text