code: def test_parameter_check(params, error, err_msg):
      """Test parameter validation."""
      transformer = JointRecurrencePlot(**params)
      with pytest.raises(error, match=re.escape(err_msg)):
          transformer.transform(X)
  
file_path: pyts/pyts/multivariate/image/tests/test_joint_rp.py
imports: import numpy
  import pytest
  import re
  from pyts.image import RecurrencePlot
  from pyts.multivariate.image import JointRecurrencePlot
label_desc: Use image node_id 1 for calling a global function with example usage: test_parameter_check(params, error, err_msg) without return types