class_docstr: Base class of all Geoms
class_docstr_tok: ["Base","class","of","all","Geoms"]
code: def __init__(
      self,
      mapping: Aes | None = None,
      data: DataLike | None = None,
      **kwargs: Any,
  ):
      kwargs = rename_aesthetics(kwargs)
      kwargs = data_mapping_as_kwargs((data, mapping), kwargs)
      self._kwargs = kwargs  # Will be used to create stat & layer
  
      # separate aesthetics and parameters
      self.aes_params = copy_keys(kwargs, {}, self.aesthetics())
      self.params = copy_keys(kwargs, deepcopy(self.DEFAULT_PARAMS))
      self.mapping = kwargs["mapping"]
      self.data = kwargs["data"]
      self._stat = stat.from_geom(self)
      self._position = position.from_geom(self)
      self._verify_arguments(kwargs)
  
imports: from __future__ import annotations
  import typing
  from abc import ABC
  from copy import deepcopy
  from itertools import chain, repeat
  from .._utils import copy_keys, data_mapping_as_kwargs, is_list_like, remove_missing
  from .._utils.registry import Register, Registry
  from ..exceptions import PlotnineError
  from ..layer import layer
  from ..mapping.aes import is_valid_aesthetic, rename_aesthetics
  from ..mapping.evaluation import evaluate
  from ..positions.position import position
  from ..stats.stat import stat
label_desc: Use image node_id 1 to create a new geom object from inherited base classes: ABC with example: obj = geom(mapping, data)