code: def test_data_parameter_replacement():
      """
      Test that the docstring contains the correct *data* parameter stub
      for all methods that we run _preprocess_data() on.
      """
      program = (
          "import logging; "
          "logging.basicConfig(level=logging.DEBUG); "
          "import matplotlib.pyplot as plt"
      )
      cmd = [sys.executable, "-c", program]
      completed_proc = subprocess_run_for_testing(
          cmd, text=True, capture_output=True
      )
      assert (
          "data parameter docstring error" not in completed_proc.stderr
      )
  
imports: import re
  import sys
  import numpy
  import pytest
  from matplotlib import _preprocess_data
  from matplotlib.axes import Axes
  from matplotlib.testing import subprocess_run_for_testing
  from matplotlib.testing.decorators import check_figures_equal
label_desc: Use image node_id 12 for calling a global function with example usage: test_data_parameter_replacement() without return types