code: def _remove_labels_from_axis(axis):
      for t in axis.get_majorticklabels():
          t.set_visible(False)
  
      try:
          # set_visible will not be effective if
          # minor axis has NullLocator and NullFormattor (default)
          import matplotlib.ticker as ticker
  
          if isinstance(axis.get_minor_locator(), ticker.NullLocator):
              axis.set_minor_locator(ticker.AutoLocator())
          if isinstance(
              axis.get_minor_formatter(), ticker.NullFormatter
          ):
              axis.set_minor_formatter(ticker.FormatStrFormatter(""))
          for t in axis.get_minorticklabels():
              t.set_visible(False)
      except Exception:  # pragma no cover
          raise
      axis.get_label().set_visible(False)
  
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 5 for calling a global function with example usage: _remove_labels_from_axis(axis) without return types