code: def test_manual_colorbar():
      # This should warn, but not raise
      fig, axes = plt.subplots(1, 2)
      pts = axes[1].scatter([0, 1], [0, 1], c=[1, 5])
      ax_rect = axes[1].get_position()
      cax = fig.add_axes(
          [ax_rect.x1 + 0.005, ax_rect.y0, 0.015, ax_rect.height]
      )
      fig.colorbar(pts, cax=cax)
      with pytest.warns(UserWarning, match="This figure includes Axes"):
          fig.tight_layout()
  
imports: import warnings
  import numpy
  from numpy.testing import assert_array_equal
  import pytest
  import matplotlib
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
  from matplotlib.offsetbox import AnchoredOffsetbox, DrawingArea
  from matplotlib.patches import Rectangle
label_desc: Use image node_id 22 for calling a global function with example usage: test_manual_colorbar() without return types