code: def _check_consistent_shapes(*arrays):
      all_shapes = set(a.shape for a in arrays)
      if len(all_shapes) != 1:
          raise ValueError(
              "The shapes of the passed in arrays do not match."
          )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import math
  import weakref
  import numpy
  from numpy import ma
  import matplotlib.collections
  import matplotlib.transforms
  import matplotlib.text
  import matplotlib.artist
  from matplotlib.artist import allow_rasterization
  from matplotlib import docstring
  import matplotlib.font_manager
  from matplotlib.cbook import delete_masked_points
  from matplotlib.patches import CirclePolygon
label_desc: Use image node_id 2 for calling a global function with example usage: _check_consistent_shapes() without return types