code: def test_contour_uneven(split_collections):
      # Remove this line when this test image is regenerated.
      plt.rcParams["pcolormesh.snap"] = False
  
      z = np.arange(24).reshape(4, 6)
      fig, axs = plt.subplots(1, 2)
      ax = axs[0]
      cs = ax.contourf(z, levels=[2, 4, 6, 10, 20])
      fig.colorbar(cs, ax=ax, spacing="proportional")
      ax = axs[1]
      cs = ax.contourf(z, levels=[2, 4, 6, 10, 20])
      fig.colorbar(cs, ax=ax, spacing="uniform")
  
      _maybe_split_collections(split_collections)
  
imports: import datetime
  import platform
  import re
  from unittest import mock
  import contourpy
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_almost_equal_nulp, assert_array_equal
  import matplotlib
  from matplotlib import pyplot, rc_context, ticker
  from matplotlib.colors import LogNorm, same_color
  import matplotlib.patches
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  import pytest
label_desc: Use image node_id 24 for calling a global function with example usage: test_contour_uneven(split_collections) without return types