code: def make_logo(
      height_px, lw_bars, lw_grid, lw_border, rgrid, with_text=False
  ):
      """
      Create a full figure with the Matplotlib logo.
  
      Parameters
      ----------
      height_px : int
          Height of the figure in pixel.
      lw_bars : float
          The linewidth of the bar border.
      lw_grid : float
          The linewidth of the grid.
      lw_border : float
          The linewidth of icon border.
      rgrid : sequence of float
          The radial grid positions.
      with_text : bool
          Whether to draw only the icon or to include 'matplotlib' as text.
      """
      dpi = 100
      height = height_px / dpi
      figsize = (5 * height, height) if with_text else (height, height)
      fig = plt.figure(figsize=figsize, dpi=dpi)
      fig.patch.set_alpha(0)
  
      if with_text:
          create_text_axes(fig, height_px)
      ax_pos = (
          (0.535, 0.12, 0.17, 0.75)
          if with_text
          else (0.03, 0.03, 0.94, 0.94)
      )
      ax = create_icon_axes(
          fig, ax_pos, lw_bars, lw_grid, lw_border, rgrid
      )
  
      return fig, ax
  
file_path: matplotlib/galleries/examples/misc/logos2.py
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.cm
  import matplotlib.font_manager
  from matplotlib.patches import PathPatch, Rectangle
  from matplotlib.text import TextPath
  import matplotlib.transforms
label_desc: Use image node_id 4 for calling a global function with example usage: make_logo(height_px, lw_bars, lw_grid, lw_border, rgrid, with_text) and returns: fig,  ax