class_docstr: Basic Image Grid
class_docstr_tok: ["Basic","Image","Grid"]
docstr: Add image blocks with formatted grid specification
  
  Args:
      image_list (list): the list of image_paths
      grid_spec (dict): indicate image size and position
          - key: image_name, or index if image_set is a list
          - value: (x,y,w,h) position and weight/height of image,
                with left top corner of the block as (0,0), unit in mm
      notes (str, Optional):
          explain the block
docstr_tok: ["Add","image","blocks","with","formatted","grid","specification","Args",":","image_list","(","list",")",":","the","list","of","image_paths","grid_spec","(","dict",")",":","indicate","image","size","and","position","-","key",":","image_name",",","or","index","if","image_set","is","a","list","-","value",":","(","x",",","y",",","w",",","h",")","position","and","weight\/height","of","image",",","with","left","top","corner","of","the","block","as","(","0,0",")",",","unit","in","mm","notes","(","str",",","Optional",")",":","explain","the","block"]
code: def __init__(
      self, image_list: list, grid_spec: list, notes=None
  ) -> None:
      """
      Add image blocks with formatted grid specification
  
      Args:
          image_list (list): the list of image_paths
          grid_spec (dict): indicate image size and position
              - key: image_name, or index if image_set is a list
              - value: (x,y,w,h) position and weight/height of image,
                    with left top corner of the block as (0,0), unit in mm
          notes (str, Optional):
              explain the block
      """
      super(BasicImageGrid, self).__init__(image_list, grid_spec, notes)
      self._image_list = image_list
      self._grid_spec = grid_spec
      self._notes = None
      if not (notes is None):
          self._notes = notes
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from xai.formatter.contents.base import Content
  from xai.formatter.writer.base import Writer
label_desc: Use image node_id 1 to create a new BasicImageGrid object from inherited base classes: Content with example: obj = BasicImageGrid(image_list, grid_spec, notes)