code: def pie(
      data_frame=None,
      names=None,
      values=None,
      color=None,
      color_discrete_sequence=None,
      color_discrete_map=None,
      hover_name=None,
      hover_data=None,
      custom_data=None,
      labels=None,
      title=None,
      template=None,
      width=None,
      height=None,
      opacity=None,
      hole=None,
  ):
      """
      In a pie plot, each row of `data_frame` is represented as a sector of a
      pie.
      """
      if color_discrete_sequence is not None:
          layout_patch = {"piecolorway": color_discrete_sequence}
      else:
          layout_patch = {}
      return make_figure(
          args=locals(),
          constructor=go.Pie,
          trace_patch=dict(showlegend=(names is not None), hole=hole),
          layout_patch=layout_patch,
      )
  
imports: from ._core import make_figure
  from ._doc import make_docstring
  import plotly.graph_objs
label_desc: Use image node_id 29 for calling a global function with example usage: pie(data_frame, names, values, color, color_discrete_sequence, color_discrete_map, hover_name, hover_data, custom_data, labels, title, template, width, height, opacity, hole) and returns: make_figure