class_docstr: Guides for each scale
  
  Used to assign a particular guide to an aesthetic(s).
  
  Parameters
  ----------
  kwargs : dict
      aesthetic - guide pairings. e.g
      ```python
      guides(color=guide_colorbar())
      ```
class_docstr_tok: ["Guides","for","each","scale","Used","to","assign","a","particular","guide","to","an","aesthetic","(","s",")",".","Parameters","--","--","--","--","--","kwargs",":","dict","aesthetic","-","guide","pairings",".","e.g","``","`","python","guides","(","color=guide_colorbar","(",")",")","``","`"]
docstr: Add geoms to the guide definitions
docstr_tok: ["Add","geoms","to","the","guide","definitions"]
code: def create_geoms(self, gdefs, plot):
      """
      Add geoms to the guide definitions
      """
      new_gdefs = []
      for gdef in gdefs:
          gdef = gdef.create_geoms(plot)
          if gdef:
              new_gdefs.append(gdef)
  
      return new_gdefs
  
imports: from __future__ import annotations
  import typing
  from copy import deepcopy
  from warnings import warn
  import numpy
  import pandas
  from .._utils.registry import Registry
  from ..exceptions import PlotnineError, PlotnineWarning
  from .guide import guide
label_desc: Use image node_id 7 for calling the guides obj's underlying member method code with example usage: obj.create_geoms(gdefs, plot) and returns: new_gdefs