code: def create_figure():
      plt.figure()
      x = np.linspace(0, 1, 15)
  
      # line plot
      plt.plot(x, x**2, "b-")
  
      # marker
      plt.plot(x, 1 - x**2, "g>")
  
      # filled paths and patterns
      plt.fill_between(
          [0.0, 0.4],
          [0.4, 0.0],
          hatch="//",
          facecolor="lightgray",
          edgecolor="red",
      )
      plt.fill([3, 3, 0.8, 0.8, 3], [2, -2, -2, 0, 2], "b")
  
      # text and typesetting
      plt.plot([0.9], [0.5], "ro", markersize=3)
      plt.text(
          0.9,
          0.5,
          "unicode (ü, °, \N{Section Sign}) and math ($\\mu_i = x_i^2$)",
          ha="right",
          fontsize=20,
      )
      plt.ylabel(
          "sans-serif, blue, $\\frac{\\sqrt{x}}{y^2}$..",
          family="sans-serif",
          color="blue",
      )
      plt.text(
          1,
          1,
          "should be clipped as default clip_box is Axes bbox",
          fontsize=20,
          clip_on=True,
      )
  
      plt.xlim(0, 1)
      plt.ylim(0, 1)
  
imports: import datetime
  from io import BytesIO
  import os
  import shutil
  import numpy
  from packaging.version import parse
  import pytest
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.testing import _has_tex_package, _check_for_pgf
  from matplotlib.testing.exceptions import ImageComparisonFailure
  from matplotlib.testing.compare import compare_images
  from matplotlib.backends.backend_pgf import PdfPages
  from matplotlib.testing.decorators import _image_directories, check_figures_equal, image_comparison
  from matplotlib.testing._markers import needs_ghostscript, needs_pgf_lualatex, needs_pgf_pdflatex, needs_pgf_xelatex
label_desc: Use image node_id 3 for calling a global function with example usage: create_figure() without return types