code: def _check_consistent_shapes(*arrays):
      all_shapes = {a.shape for a in arrays}
      if len(all_shapes) != 1:
          raise ValueError(
              "The shapes of the passed in arrays do not match"
          )
  
imports: import math
  import numpy
  from numpy import ma
  from matplotlib import _api, cbook, _docstring
  import matplotlib.artist
  import matplotlib.collections
  from matplotlib.patches import CirclePolygon
  import matplotlib.text
  import matplotlib.transforms
label_desc: Use image node_id 2 for calling a global function with example usage: _check_consistent_shapes() without return types