class_docstr: Sets: type="array"
class_docstr_tok: ["Sets",":","type=","''","array","''"]
code: def __init__(
      self,
      value: list[list[Any]] | Callable | None = None,
      *,
      headers: list[str] | None = None,
      row_count: int | tuple[int, str] = (1, "dynamic"),
      col_count: int | tuple[int, str] | None = None,
      datatype: str | list[str] = "str",
      type: Literal["array"] = "array",
      label: str | None = None,
      show_label: bool = True,
      interactive: bool | None = None,
      visible: bool = True,
      elem_id: str | None = None,
      wrap: bool = False,
      **kwargs,
  ):
      super().__init__(
          value=value,
          headers=headers,
          row_count=row_count,
          col_count=col_count,
          datatype=datatype,
          type=type,
          label=label,
          show_label=show_label,
          interactive=interactive,
          visible=visible,
          elem_id=elem_id,
          wrap=wrap,
          **kwargs,
      )
  
imports: from __future__ import annotations
  from typing import Any, Callable, Iterable, Literal
  import numpy
  from PIL import Image
  from gradio import components
  from gradio.components.image_editor import Brush, Eraser
label_desc: Use image node_id 1 to create a new Matrix object from inherited base classes: components with example: obj = Matrix(value)