Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1943acc commit ced77e4Copy full SHA for ced77e4
1 file changed
lib/matplotlib/table.py
@@ -410,7 +410,13 @@ def _do_cell_alignment(self):
410
411
def auto_set_column_width(self, col):
412
413
- self._autoColumns.append(col)
+ # col is a list of column index
414
+ if isinstance(col, list):
415
+ for cell in col:
416
+ self._autoColumns.append(cell)
417
+ # col is just an index
418
+ else:
419
+ self._autoColumns.append(col)
420
self.stale = True
421
422
def _auto_set_column_width(self, col, renderer):
0 commit comments