class_docstr: Table with adaptive width and height
  
  Args:
      colors(list[str]) : Text colors
      aligns(list[str]) : Text alignments
      widths(list[str]) : Text widths
  
  Examples:
      .. code-block:: python
  
          table = Table(widths=[12, 20])
          table.append('name', 'PaddleHub')
          table.append('version', '2.0.0')
          table.append(
              'description',
              'PaddleHub is a pretrainied model application tool under the PaddlePaddle')
          table.append('author')
  
          print(table)
  
          # the result is
          # +------------+--------------------+
          # |name        |PaddleHub           |
          # +------------+--------------------+
          # |version     |2.0.0               |
          # +------------+--------------------+
          # |description |PaddleHub is a pretr|
          # |            |ainied model applica|
          # |            |tion tool under the |
          # |            |PaddlePaddle        |
          # +------------+--------------------+
          # |author      |                    |
          # +------------+--------------------+
class_docstr_tok: ["Table","with","adaptive","width","and","height","Args",":","colors","(","list","[","str","]",")",":","Text","colors","aligns","(","list","[","str","]",")",":","Text","alignments","widths","(","list","[","str","]",")",":","Text","widths","Examples",":","..","code-block",":",":","python","table","=","Table","(","widths=","[","12",",","20","]",")","table.append","(","'name","'",",","'PaddleHub","'",")","table.append","(","'version","'",",","'","2.0.0","'",")","table.append","(","'description","'",",","'PaddleHub","is","a","pretrainied","model","application","tool","under","the","PaddlePaddle","'",")","table.append","(","'author","'",")","print","(","table",")","#","the","result","is","#","+","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","+","#","|name","|PaddleHub","|","#","+","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","+","#","|version","|2.0.0","|","#","+","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","+","#","|description","|PaddleHub","is","a","pretr|","#","|","|ainied","model","applica|","#","|","|tion","tool","under","the","|","#","|","|PaddlePaddle","|","#","+","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","+","#","|author","|","|","#","+","--","--","--","--","--","--","+","--","--","--","--","--","--","--","--","--","--","+"]
docstr: Adjust the width and height of the cells in each row and column.
docstr_tok: ["Adjust","the","width","and","height","of","the","cells","in","each","row","and","column","."]
code: def _adjust(self):
      """Adjust the width and height of the cells in each row and column."""
      for column in self.columns:
          _width = -1
          for cell in column:
              _width = max(_width, cell.width)
          for cell in column:
              cell.width = _width
  
      for row in self.rows:
          _height = -1
          for cell in row:
              _height = max(_height, cell.height)
          for cell in row:
              cell.height = _height
  
imports: import contextlib
  import copy
  import functools
  import logging
  import os
  import sys
  import time
  import threading
  from typing import List
  import colorlog
  from colorama import Fore
  import paddlehub.config
  from paddlehub.env import LOG_HOME
label_desc: Use image node_id 3 for calling the Table obj's underlying member method code with example usage: obj._adjust() without return types