code: def _flatten(axes):
      if not is_list_like(axes):
          return np.array([axes])
      elif isinstance(axes, (np.ndarray, ABCIndexClass)):
          return axes.ravel()
      return np.array(axes)
  
file_path: catboost/contrib/python/pandas/py2/pandas/plotting/_tools.py
imports: from __future__ import division
  from math import ceil
  import warnings
  import numpy
  from pandas.compat import range
  from pandas.core.dtypes.common import is_list_like
  from pandas.core.dtypes.generic import ABCDataFrame, ABCIndexClass, ABCSeries
label_desc: Use image node_id 7 for calling a global function with example usage: _flatten(axes) and returns: np, np, axes