class_docstr: A smoothed conditional mean
  
  {usage}
  
  Parameters
  ----------
  {common_parameters}
  legend_fill_ratio : float, default=0.5
      How much (vertically) of the legend box should be filled by
      the color that indicates the confidence intervals. Should be
      in the range [0, 1].
class_docstr_tok: ["A","smoothed","conditional","mean","{","usage","}","Parameters","--","--","--","--","--","{","common_parameters","}","legend_fill_ratio",":","float",",","default=0.5","How","much","(","vertically",")","of","the","legend","box","should","be","filled","by","the","color","that","indicates","the","confidence","intervals",".","Should","be","in","the","range","[","0",",","1","]","."]
code: def draw_group(
      data: pd.DataFrame,
      panel_params: panel_view,
      coord: Coord,
      ax: Axes,
      **params: Any,
  ):
      has_ribbon = "ymin" in data and "ymax" in data
      if has_ribbon:
          data2 = data.copy()
          data2["color"] = "none"
          params2 = params.copy()
          params2["outline_type"] = "full"
          geom_ribbon.draw_group(
              data2, panel_params, coord, ax, **params2
          )
  
      data["alpha"] = 1
      geom_line.draw_group(data, panel_params, coord, ax, **params)
  
file_path: plotnine/plotnine/geoms/geom_smooth.py
imports: from __future__ import annotations
  import typing
  from .._utils import to_rgba
  from ..doctools import document
  from .geom import geom
  from .geom_line import geom_line, geom_path
  from .geom_ribbon import geom_ribbon
label_desc: Use image node_id 3 for calling the geom_smooth obj's underlying member method code with example usage: obj.draw_group(data, panel_params, coord, ax) without return types