code: def create_issue_plot(libraries, issue_choices):
      if "Issue" not in issue_choices:
          return gr.Plot(visible=False)
      output = retrieve_issues(
          libraries,
          exclude_org_members="Exclude org members" in issue_choices,
          week_over_week="Week over Week" in issue_choices,
      )
      df = pd.DataFrame(output).melt(id_vars="day")
      plot = px.line(
          df,
          x="day",
          y="value",
          color="variable",
          title="Cumulated number of issues, PRs, and comments",
      )
      plot.update_layout(
          legend=dict(x=0.5, y=0.99), title_x=0.5, legend_title_text=""
      )
      return gr.Plot(value=plot, visible=True)
  
imports: import gradio
  import pandas
  import plotly.express
  from helpers import *
label_desc: Use image node_id 3 for calling a global function with example usage: create_issue_plot(libraries, issue_choices) and returns: gr, gr