code: def test_collection():
      x, y = np.meshgrid(
          np.linspace(0, 10, 150), np.linspace(-5, 5, 100)
      )
      data = np.sin(x) + np.cos(y)
      cs = plt.contour(data)
      cs.set(
          path_effects=[
              path_effects.PathPatchEffect(
                  edgecolor="black", facecolor="none", linewidth=12
              ),
              path_effects.Stroke(linewidth=5),
          ]
      )
      for text in plt.clabel(cs, colors="white"):
          text.set_path_effects(
              [path_effects.withStroke(foreground="k", linewidth=3)]
          )
          text.set_bbox(
              {
                  "boxstyle": "sawtooth",
                  "facecolor": "none",
                  "edgecolor": "blue",
              }
          )
  
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 7 for calling a global function with example usage: test_collection() without return types