docstr: Build an iterator over the elements of the path collection
docstr_tok: ["Build","an","iterator","over","the","elements","of","the","path","collection"]
code: def _iter_path_collection(paths, path_transforms, offsets, styles):
      """Build an iterator over the elements of the path collection"""
      N = max(len(paths), len(offsets))
  
      # Before mpl 1.4.0, path_transform can be a false-y value, not a valid
      # transformation matrix.
      if LooseVersion(mpl.__version__) < LooseVersion("1.4.0"):
          if path_transforms is None:
              path_transforms = [np.eye(3)]
  
      edgecolor = styles["edgecolor"]
      if np.size(edgecolor) == 0:
          edgecolor = ["none"]
      facecolor = styles["facecolor"]
      if np.size(facecolor) == 0:
          facecolor = ["none"]
  
      elements = [
          paths,
          path_transforms,
          offsets,
          edgecolor,
          styles["linewidth"],
          facecolor,
      ]
  
      it = itertools
      return it.islice(py3k.zip(*py3k.map(it.cycle, elements)), N)
  
imports: import warnings
  import itertools
  from contextlib import contextmanager
  from distutils.version import LooseVersion
  import numpy
  import matplotlib
  from matplotlib import transforms
  from ..None import utils
  from ..None import _py3k_compat
label_desc: Use image node_id 18 for calling the Renderer obj's underlying member method code with example usage: obj._iter_path_collection(paths, path_transforms, offsets, styles) and returns: it