code: def test_parameter_naming():
      # test explicit naming
      prm = alt.param(name="some_name")
      assert prm.param.name == "some_name"
  
      # test automatic naming which has the form such as param_5
      prm0, prm1, prm2 = [alt.param() for _ in range(3)]
  
      res = re.match("param_([0-9]+)", prm0.param.name)
  
      assert res
  
      num = int(res[1])
      assert prm1.param.name == f"param_{num+1}"
      assert prm2.param.name == f"param_{num+2}"
  
file_path: altair/tests/vegalite/v5/test_params.py
imports: import pandas
  import warnings
  import pytest
  import re
  import altair.vegalite.v5
label_desc: Use image node_id 4 for calling a global function with example usage: test_parameter_naming() without return types