code: def test_width_and_height_ratios(
      fig_test, fig_ref, height_ratios, width_ratios
  ):
      fig_test.subplots(
          2, 3, height_ratios=height_ratios, width_ratios=width_ratios
      )
      fig_ref.subplots(
          2,
          3,
          gridspec_kw={
              "height_ratios": height_ratios,
              "width_ratios": width_ratios,
          },
      )
  
imports: import itertools
  import numpy
  import pytest
  from matplotlib.axes import Axes, SubplotBase
  import matplotlib.pyplot
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
label_desc: Use image node_id 15 for calling a global function with example usage: test_width_and_height_ratios(fig_test, fig_ref, height_ratios, width_ratios) without return types