code: def test_patheffect3():
      (p1,) = plt.plot([1, 3, 5, 4, 3], "o-b", lw=4)
      p1.set_path_effects(
          [path_effects.SimpleLineShadow(), path_effects.Normal()]
      )
      plt.title(
          r"testing$^{123}$",
          path_effects=[
              path_effects.withStroke(linewidth=1, foreground="r")
          ],
      )
      leg = plt.legend(
          [p1], [r"Line 1$^2$"], fancybox=True, loc="upper left"
      )
      leg.legendPatch.set_path_effects(
          [path_effects.withSimplePatchShadow()]
      )
  
      text = plt.text(
          2,
          3,
          "Drop test",
          color="white",
          bbox={"boxstyle": "circle,pad=0.1", "color": "red"},
      )
      pe = [
          path_effects.Stroke(linewidth=3.75, foreground="k"),
          path_effects.withSimplePatchShadow(
              (6, -3), shadow_rgbFace="blue"
          ),
      ]
      text.set_path_effects(pe)
      text.get_bbox_patch().set_path_effects(pe)
  
      pe = [
          path_effects.PathPatchEffect(
              offset=(4, -4), hatch="xxxx", facecolor="gray"
          ),
          path_effects.PathPatchEffect(
              edgecolor="white", facecolor="black", lw=1.1
          ),
      ]
  
      t = plt.gcf().text(
          0.02,
          0.1,
          "Hatch shadow",
          fontsize=75,
          weight=1000,
          va="center",
      )
      t.set_path_effects(pe)
  
file_path: matplotlib/lib/matplotlib/tests/test_patheffects.py
imports: import numpy
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
  import matplotlib.patheffects
  from matplotlib.path import Path
  import matplotlib.patches
label_desc: Use image node_id 3 for calling a global function with example usage: test_patheffect3() without return types