class_docstr: TextFeature is used to visualize text (e.g. sentences) in Insights.
  It expects the visualization transform to convert the input data (e.g. index to
  string) to the raw text.
class_docstr_tok: ["TextFeature","is","used","to","visualize","text","(","e.g",".","sentences",")","in","Insights",".","It","expects","the","visualization","transform","to","convert","the","input","data","(","e.g",".","index","to","string",")","to","the","raw","text","."]
code: def visualization_type() -> str:
      return "text"
  
imports: import base64
  import warnings
  from collections import namedtuple
  from io import BytesIO
  from typing import Callable, List, Optional, Union
  from captum._utils.common import safe_div
  from captum.attr._utils import visualization
  from captum.insights.attr_vis._utils.transforms import format_transforms
label_desc: Use image node_id 2 for calling the TextFeature obj's underlying member method code with example usage: obj.visualization_type() and returns: str