class_docstr: Horizontal graph mixin
docstr: Convenience function to get the x_label of a value index
code: def _get_x_label(self, i):
      """Convenience function to get the x_label of a value index"""
      if (
          not self.x_labels
          or not self._y_labels
          or len(self._y_labels) <= i
      ):
          return
      return self._y_labels[i][0]
  
file_path: pygal/pygal/graph/horizontal.py
imports: from pygal.graph.graph import Graph
  from pygal.view import HorizontalLogView, HorizontalView
label_desc: Use image node_id 5 for calling the HorizontalGraph obj's underlying member method code with example usage: obj._get_x_label(i) and returns: self