class_docstr: Base class for text feature visualization to investigate documents
  individually or as a full corpus.
  
  TextVisualizers are used after a text corpus has been transformed
  in some way (e.g. normalized through stemming or lemmatization, via
  stopwords removal, or through vectorization). Thus a TextVisualizer
  is itself a transformer and can be used in a Scikit-Learn Pipeline
  to perform automatic visual analysis during build.
  
  Accepts as input a DataFrame or Numpy array.
docstr: This method performs preliminary computations in order to set up the
  figure, compute statistics, or perform other analyses. It can also
  call drawing methods in order to set up various non-instance-related
  figure elements.
  
  Parameters
  ----------
  X : ndarray or DataFrame of shape n x m
      A matrix of n instances with m features
  
  y : ndarray or Series of length n
      An array or series of target or class values
  
  fit_params: dict
      keyword arguments for parameter fitting.
  
  Returns
  -------
  self : instance
      Returns the instance of the transformer/visualizer
code: def fit(self, X, y=None, **fit_params):
      """
      This method performs preliminary computations in order to set up the
      figure, compute statistics, or perform other analyses. It can also
      call drawing methods in order to set up various non-instance-related
      figure elements.
  
      Parameters
      ----------
      X : ndarray or DataFrame of shape n x m
          A matrix of n instances with m features
  
      y : ndarray or Series of length n
          An array or series of target or class values
  
      fit_params: dict
          keyword arguments for parameter fitting.
  
      Returns
      -------
      self : instance
          Returns the instance of the transformer/visualizer
      """
      return self
  
file_path: yellowbrick/yellowbrick/text/base.py
imports: from yellowbrick.base import Visualizer
  from sklearn.base import TransformerMixin
label_desc: Use image node_id 2 for calling the TextVisualizer obj's underlying member method code with example usage: obj.fit(X, y) and returns: self