code: def test_shapes(params, shape_desired):
      """Test that the shape of the output is the expected one."""
      transformer = JointRecurrencePlot(**params)
      assert transformer.fit(X).transform(X).shape == shape_desired
      assert transformer.fit_transform(X).shape == shape_desired
  
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 2 for calling a global function with example usage: test_shapes(params, shape_desired) without return types