code: def test_more_args_than_pos_parameter():
      @_preprocess_data(replace_names=["x", "y"], label_namer="y")
      def func(ax, x, y, z=1):
          pass
  
      data = {"a": [1, 2], "b": [8, 9], "w": "NOT"}
      with pytest.raises(TypeError):
          func(None, "a", "b", "z", "z", data=data)
  
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 10 for calling a global function with example usage: test_more_args_than_pos_parameter() without return types