code: def test_dont_mutate_kwargs():
      subplot_kw = {"sharex": "all"}
      gridspec_kw = {"width_ratios": [1, 2]}
      fig, ax = plt.subplots(
          1, 2, subplot_kw=subplot_kw, gridspec_kw=gridspec_kw
      )
      assert subplot_kw == {"sharex": "all"}
      assert gridspec_kw == {"width_ratios": [1, 2]}
  
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 14 for calling a global function with example usage: test_dont_mutate_kwargs() without return types