class_docstr: Base class for all positions
docstr: Verify & return data
docstr_tok: ["Verify","&","return","data"]
code: def setup_data(
      self, data: pd.DataFrame, params: dict[str, Any]
  ) -> pd.DataFrame:
      """
      Verify & return data
      """
      check_required_aesthetics(
          self.REQUIRED_AES, data.columns, self.__class__.__name__
      )
      return data
  
imports: from __future__ import annotations
  import typing
  from abc import ABC
  from copy import copy
  from warnings import warn
  import numpy
  from .._utils import check_required_aesthetics, groupby_apply
  from .._utils.registry import Register, Registry
  from ..exceptions import PlotnineError, PlotnineWarning
  from ..mapping.aes import X_AESTHETICS, Y_AESTHETICS
label_desc: Use image node_id 3 for calling the position obj's underlying member method code with example usage: obj.setup_data(data, params) and returns: data