class_docstr: Class to handle logic from ForestPlot.
docstr: Display ROPE when more than one interval is provided.
docstr_tok: ["Display","ROPE","when","more","than","one","interval","is","provided","."]
code: def display_multiple_ropes(
      self, rope, ax, y, linewidth, var_name, selection
  ):
      """Display ROPE when more than one interval is provided."""
      for sel in rope.get(var_name, []):
          # pylint: disable=line-too-long
          if all(
              k in selection and selection[k] == v
              for k, v in sel.items()
              if k != "rope"
          ):
              vals = sel["rope"]
              ax.plot(
                  vals,
                  (y + 0.05, y + 0.05),
                  lw=linewidth * 2,
                  color="C2",
                  solid_capstyle="round",
                  zorder=0,
                  alpha=0.7,
              )
              return ax
  
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 5 for calling the PlotHandler obj's underlying member method code with example usage: obj.display_multiple_ropes(rope, ax, y, linewidth, var_name, selection) and returns: ax