code: def _repeat_flatten_list(lst, n):
      return [item for sublist in repeat(lst, n) for item in sublist]
  
file_path: arviz/arviz/plots/lmplot.py
imports: import warnings
  from numbers import Integral
  from itertools import repeat
  import xarray
  import numpy
  from xarray.core.dataarray import DataArray
  from ..sel_utils import xarray_var_iter
  from ..rcparams import rcParams
  from .plot_utils import default_grid, filter_plotters_list, get_plotting_function
label_desc: Use image node_id 1 for calling a global function with example usage: _repeat_flatten_list(lst, n) and returns: unknown