code: def guides(**kwargs):
      """
      Set guides for each scale.
  
      Parameters
      ----------
      kwargs
          Name-guide pairs where name should be an aesthetic.
          The guide can either be a string ('colorbar', 'legend'),
          or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
          specifying additional arguments, or 'none' to hide the guide.
  
      Returns
      -------
      `FeatureSpec`
          Guides specification.
  
      Examples
      --------
      .. jupyter-execute::
          :linenos:
          :emphasize-lines: 13-14
  
          import numpy as np
          from lets_plot import *
          LetsPlot.setup_html()
          n = 25
          np.random.seed(42)
          x = np.random.uniform(size=n)
          y = np.random.uniform(size=n)
          c = np.random.choice(list('abcdefgh'), size=n)
          v = np.random.normal(size=n)
          ggplot({'x': x, 'y': y, 'c': c, 'v': v}, aes('x', 'y')) + \\
              geom_point(aes(shape='c', color='v'), size=4) + \\
              scale_color_gradient2(low='red', mid='yellow', high='blue') + \\
              guides(shape=guide_legend(ncol=2), \\
                     color=guide_colorbar(nbin=8, barwidth=20))
  
      """
      return FeatureSpec("guides", name=None, **kwargs)
  
imports: from .core import FeatureSpec
label_desc: Use image node_id 4 for calling a global function with example usage: guides() and returns: FeatureSpec