code: def collect(context=None, style=None, palette=None, **kwargs):
      
      params = {}
      if context:
          params.update(get(context, 'context', **kwargs))
      if style:
          params.update(get(style, 'style', **kwargs))
      if palette:
          params.update(get(palette, 'palette', **kwargs))
      return params
docs: Returns the merged rcParams dict of the specified context, style, and palette.
  
      Parameters
      ----------
      context: str
  
      style: str
  
      palette: str
  
      kwargs:
      -
  
      Returns
      -------
      rcParams: dict
          The merged parameter dicts of the specified context, style, and palette.
  
      Notes
      -----
      The rcParams dicts are loaded and updated in the order: context, style, palette. That means if
      a context parameter is also defined in the style or palette dict, it will be overwritten. There
      is currently no checking being done to avoid this.