Skip to content

Commit

Permalink
update to use None instead of -1 to bypass truncation
Browse files Browse the repository at this point in the history
this is now how pandas formally supports this.
see pandas-dev/pandas#31569
  • Loading branch information
gregcaporaso committed Apr 30, 2024
1 parent 8bed543 commit 9aff160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q2templates/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def df_to_html(df, border="0", classes=('table', 'table-striped',
.. [2] https://github.com/pandas-dev/pandas/issues/1852
"""
with pd.option_context('display.max_colwidth', -1):
with pd.option_context('display.max_colwidth', None):
return df.to_html(border=border, classes=classes, **kwargs)


Expand Down

0 comments on commit 9aff160

Please sign in to comment.