From 21d46cb60a2241044d4163ae218207d1d4804e48 Mon Sep 17 00:00:00 2001 From: Greg Caporaso <192372+gregcaporaso@users.noreply.github.com> Date: Wed, 1 May 2024 20:43:18 -0700 Subject: [PATCH] MAINT: update to use None instead of -1 to bypass truncation (#54) --- q2templates/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q2templates/util.py b/q2templates/util.py index f20bb2e..1b20e3b 100644 --- a/q2templates/util.py +++ b/q2templates/util.py @@ -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)