code: def make_matplotlib_icon():
      fig = plt.figure(figsize=(1, 1))
      fig.patch.set_alpha(0.0)
      ax = fig.add_axes([0.025, 0.025, 0.95, 0.95], projection="polar")
      ax.set_axisbelow(True)
  
      N = 7
      arc = 2 * np.pi
      theta = np.arange(0, arc, arc / N)
      radii = 10 * np.array([0.2, 0.6, 0.8, 0.7, 0.4, 0.5, 0.8])
      width = np.pi / 4 * np.array([0.4, 0.4, 0.6, 0.8, 0.2, 0.5, 0.3])
      bars = ax.bar(
          theta,
          radii,
          width=width,
          bottom=0.0,
          linewidth=1,
          edgecolor="k",
      )
  
      for r, bar in zip(radii, bars):
          bar.set_facecolor(mpl.cm.jet(r / 10))
  
      ax.tick_params(
          labelleft=False,
          labelright=False,
          labelbottom=False,
          labeltop=False,
      )
      ax.grid(lw=0.0)
  
      ax.set_yticks(np.arange(1, 9, 2))
      ax.set_rmax(9)
  
      return fig
  
file_path: matplotlib/tools/make_icons.py
imports: from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
  from io import BytesIO
  from pathlib import Path
  import tarfile
  import urllib.request
  import matplotlib
  import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: make_matplotlib_icon() and returns: fig