class_docstr: Base class of all Geoms
class_docstr_tok: ["Base","class","of","all","Geoms"]
docstr: Make a layer that represents this geom
  
  Returns
  -------
  :
      Layer
docstr_tok: ["Make","a","layer","that","represents","this","geom","Returns","--","--","--","-",":","Layer"]
code: def to_layer(self) -> Layer:
      """
      Make a layer that represents this geom
  
      Returns
      -------
      :
          Layer
      """
      return layer.from_geom(self)
  
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 12 for calling the geom obj's underlying member method code with example usage: obj.to_layer() and returns: layer