code: def test_label_outer(remove_ticks):
      f, axs = plt.subplots(2, 2, sharex=True, sharey=True)
      for ax in axs.flat:
          ax.set(xlabel="foo", ylabel="bar")
          ax.label_outer(remove_inner_ticks=remove_ticks)
      check_ticklabel_visible(
          axs.flat,
          [False, False, True, True],
          [True, False, True, False],
      )
      if remove_ticks:
          check_tick1_visible(
              axs.flat,
              [False, False, True, True],
              [True, False, True, False],
          )
      else:
          check_tick1_visible(
              axs.flat,
              [True, True, True, True],
              [True, True, True, True],
          )
  
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 5 for calling a global function with example usage: test_label_outer(remove_ticks) without return types