class_docstr: Class to handle logic from ForestPlot.
docstr: Collect labels and ticks from plotters.
docstr_tok: ["Collect","labels","and","ticks","from","plotters","."]
code: def labels_and_ticks(self):
      """Collect labels and ticks from plotters."""
      val = self.plotters.values()
  
      @conditional_jit(forceobj=True, nopython=False)
      def label_idxs():
          labels, idxs = [], []
          for plotter in val:
              (
                  sub_labels,
                  sub_idxs,
                  _,
                  _,
              ) = plotter.labels_ticks_and_vals()
              labels_to_idxs = defaultdict(list)
              for label, idx in zip(sub_labels, sub_idxs):
                  labels_to_idxs[label].append(idx)
              sub_idxs = []
              sub_labels = []
              for label, all_idx in labels_to_idxs.items():
                  sub_labels.append(label)
                  sub_idxs.append(np.mean([j for j in all_idx]))
              labels.append(sub_labels)
              idxs.append(sub_idxs)
          return np.concatenate(labels), np.concatenate(idxs)
  
      return label_idxs()
  
imports: from collections import OrderedDict, defaultdict
  from itertools import tee
  import matplotlib.pyplot
  import numpy
  from matplotlib.colors import to_rgba
  from matplotlib.lines import Line2D
  from ....stats import hdi
  from ....stats.density_utils import get_bins, histogram, kde
  from ....stats.diagnostics import _ess, _rhat
  from ....sel_utils import xarray_var_iter
  from ....utils import conditional_jit
  from ...plot_utils import _scale_fig_size
  from .None import backend_kwarg_defaults, backend_show
label_desc: Use image node_id 3 for calling the PlotHandler obj's underlying member method code with example usage: obj.labels_and_ticks() and returns: label_idxs, np,  np