class_docstr: Data to plot.
  
  Args:
      data: the data to plot:
          - a base64 encoded PNG if `encoding` is `png`.
          - a string in HTML if `encoding` is `html`.
          - a path to a parquet file if `encoding` is `df`.
      encoding: the encoding of the data, one of PLOT_ENCODINGS.
code: def __post_init__(self):
      assert (
          self.encoding in PLOT_ENCODINGS
      ), f"Unknown plot encoding {self.encoding}"
  
file_path: h2o-llmstudio/llm_studio/src/utils/plot_utils.py
imports: import html
  import re
  from dataclasses import dataclass
  from typing import List
label_desc: Use image node_id 1 for calling the PlotData obj's underlying member method code with example usage: obj.__post_init__() without return types