Skip to content

Commit 9aff160

Browse files
committed
update to use None instead of -1 to bypass truncation
this is now how pandas formally supports this. see pandas-dev/pandas#31569
1 parent 8bed543 commit 9aff160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

q2templates/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def df_to_html(df, border="0", classes=('table', 'table-striped',
4343
.. [2] https://github.com/pandas-dev/pandas/issues/1852
4444
4545
"""
46-
with pd.option_context('display.max_colwidth', -1):
46+
with pd.option_context('display.max_colwidth', None):
4747
return df.to_html(border=border, classes=classes, **kwargs)
4848

4949

0 commit comments

Comments
 (0)