class_docstr: Class representing a chart.
  
  Parameters
  ----------
  arena : dalex.Arena
      Instance of Arena.
  cache : bool
      If this object is allowed to use cache when requesting resources
  
  Attributes
  --------
  arena : Arena
      Instance of dalex.Arena
  name : str
      Display name of chart
  plot_type : str
      Identifier of chart type
  plot_component : str
      Identifier of Arena's component that should render this chart
  plot_category : str
      Name of category of chart
  params : dict
      Dictionary with required param types as keys and param labels as values.
      This attribute is set when calling fit.
  data : dict
      Results of computations are placed there
  progress : float
      If progress is supprted, then value should be between [0,1]. For other situations -1 value must be set.
      Progress of plot container is based of progress of used resources at the moment of calling fit method.
      This value will not be updated.
  use_cache : bool
      If this object is allowed to use cache when requesting resources
docstr: Saves important attributes of PlotContainer into a dict.
  Returned dict is meant to be directly put into Arena data file.
  
  Returns
  --------
  dict
docstr_tok: ["Saves","important","attributes","of","PlotContainer","into","a","dict",".","Returned","dict","is","meant","to","be","directly","put","into","Arena","data","file",".","Returns","--","--","--","--","dict"]
code: def serialize(self):
      """Saves important attributes of PlotContainer into a dict.
      Returned dict is meant to be directly put into Arena data file.
  
      Returns
      --------
      dict
      """
      return {
          "name": self.name,
          "plotType": self.plot_type,
          "plotComponent": self.plot_component,
          "plotCategory": self.plot_category,
          "params": self.params,
          "data": self.data,
          "progress": self.progress,
          "isDone": True if self.is_done is None else self.is_done,
      }
  
file_path: DALEX/python/dalex/dalex/arena/_plot_container.py
imports: from ._option_base import OptionBase
  from .params import ModelParam, DatasetParam, VariableParam, ObservationParam
label_desc: Use image node_id 3 for calling the PlotContainer obj's underlying member method code with example usage: obj.serialize() and returns: dict