From cdd2b466e21abfc9f5acd60c9bf537c4fa20a765 Mon Sep 17 00:00:00 2001 From: Alberto Date: Sun, 21 Feb 2016 17:43:26 -0500 Subject: [PATCH] fixes https://github.com/matplotlib/matplotlib/issues/5479 --- lib/matplotlib/table.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/table.py b/lib/matplotlib/table.py index 2d8adfbd5db3..97325b34674c 100644 --- a/lib/matplotlib/table.py +++ b/lib/matplotlib/table.py @@ -410,7 +410,10 @@ def _do_cell_alignment(self): def auto_set_column_width(self, col): - self._autoColumns.append(col) + if isinstance(col, list): + self._autoColumns = self._autoColumns + col + else: + self._autoColumns.append(col) self.stale = True def _auto_set_column_width(self, col, renderer):