code: def report(issues, show_urls=False):
      """Summary report about a list of issues, printing number and title."""
      lines = []
      if show_urls:
          for i in issues:
              role = "ghpull" if "merged_at" in i else "ghissue"
              number = i["number"]
              title = i["title"].replace("`", "``").strip()
              lines.append(f"* :{role}:`{number}`: {title}")
      else:
          for i in issues:
              number = i["number"]
              title = i["title"].replace("`", "``").strip()
              lines.append("* {number}: {title}")
      return "\n".join(lines)
  
file_path: matplotlib/tools/github_stats.py
imports: import sys
  from argparse import ArgumentParser
  from datetime import datetime, timedelta
  from subprocess import check_output
  from gh_api import get_paged_request, make_auth_header, get_pull_request, is_pull_request, get_milestone_id, get_issues_list, get_authors
label_desc: Use image node_id 7 for calling a global function with example usage: report(issues, show_urls) and returns: str