class_docstr: Hypertools data object class
  
  A DataGeometry object contains the data, figure handles and transform
  functions used to create a plot.  Note: this class should not be called
  directly, but is used by the `hyp.plot` function to create a plot object.
  
  Parameters
  ----------
  
  fig : matplotlib.Figure
      The matplotlib figure handle for the plot
  
  ax : matplotlib.Axes
      The matplotlib axes handle for the plot
  
  line_ani : matplotlib.animation.FuncAnimation
      The matplotlib animation handle (if the plot is an animation)
  
  data : list
      A list of numpy arrays representing the raw data
  
  xform_data : list
      A list of numpy arrays representing the transformed data
  
  reduce : dict
      A dictionary containing the reduction model and parameters
  
  align : dict
      A dictionary containing align model and parameters
  
  normalize : str
      A string representing the kind of normalization
  
  kwargs : dict
      A dictionary containing all kwargs passed to the plot function
  
  version : str
      The version of the software used to create the class instance
class_docstr_tok: ["Hypertools","data","object","class","A","DataGeometry","object","contains","the","data",",","figure","handles","and","transform","functions","used","to","create","a","plot",".","Note",":","this","class","should","not","be","called","directly",",","but","is","used","by","the","`","hyp.plot","`","function","to","create","a","plot","object",".","Parameters","--","--","--","--","--","fig",":","matplotlib.Figure","The","matplotlib","figure","handle","for","the","plot","ax",":","matplotlib.Axes","The","matplotlib","axes","handle","for","the","plot","line_ani",":","matplotlib.animation.FuncAnimation","The","matplotlib","animation","handle","(","if","the","plot","is","an","animation",")","data",":","list","A","list","of","numpy","arrays","representing","the","raw","data","xform_data",":","list","A","list","of","numpy","arrays","representing","the","transformed","data","reduce",":","dict","A","dictionary","containing","the","reduction","model","and","parameters","align",":","dict","A","dictionary","containing","align","model","and","parameters","normalize",":","str","A","string","representing","the","kind","of","normalization","kwargs",":","dict","A","dictionary","containing","all","kwargs","passed","to","the","plot","function","version",":","str","The","version","of","the","software","used","to","create","the","class","instance"]
code: def __init__(
      self,
      fig=None,
      ax=None,
      line_ani=None,
      data=None,
      xform_data=None,
      reduce=None,
      align=None,
      normalize=None,
      semantic=None,
      vectorizer=None,
      corpus=None,
      kwargs=None,
      version=__version__,
      dtype=None,
  ):
      # matplotlib figure handle
      self.fig = fig
  
      # matplotlib axis handle
      self.ax = ax
  
      # matplotlib line_ani handle (if its an animation)
      self.line_ani = line_ani
  
      # convert to numpy array if text
      if isinstance(data, list):
          data = list(map(convert_text, data))
      self.data = data
      self.dtype = get_dtype(data)
  
      # the transformed data
      self.xform_data = xform_data
  
      # dictionary of model and model_params
      self.reduce = reduce
  
      # 'hyper', 'SRM' or None
      self.align = align
  
      # 'within', 'across', 'row' or False
      self.normalize = normalize
  
      # text params
      self.semantic = semantic
      self.vectorizer = vectorizer
  
      self.corpus = corpus
  
      # dictionary of kwargs
      self.kwargs = kwargs
  
      # hypertools version
      self.version = version
  
file_path: hypertools/hypertools/datageometry.py
imports: import copy
  import pickle
  import warnings
  import pandas
  from .tools.normalize import normalize
  from .tools.reduce import reduce
  from .tools.align import align
  from .tools.format_data import format_data
  from ._shared.helpers import convert_text, get_dtype
  from .config import __version__
label_desc: Use image node_id 1 to create a new DataGeometry object from inherited base classes: object with example: obj = DataGeometry(fig, ax, line_ani, data, xform_data, reduce, align, normalize, semantic, vectorizer, corpus, kwargs, version, dtype)