class_docstr: Create plots for `InteractTargetPlot` or `InteractPredictPlot`
  
  Methods
  -------
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","InteractTargetPlot","`","or","`","InteractPredictPlot","`","Methods","--","--","--","-","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def _draw_legend_colorbar(self, value_min, value_max, axes, cmap):
      cb_style = self.plot_style.legend["colorbar"]
      norm = mpl.colors.Normalize(
          vmin=float(value_min), vmax=float(value_max)
      )
      cax = inset_axes(
          axes,
          height=cb_style["height"],
          width=cb_style["width"],
          loc=10,
      )
      cb = mpl.colorbar.ColorbarBase(
          cax,
          cmap=plt.get_cmap(cmap),
          norm=norm,
          orientation="horizontal",
      )
      cb.outline.set_linewidth(0)
      cb.set_ticks([])
  
      width_float = float(cb_style["width"].replace("%", "")) / 100
      text_params = {
          "fontdict": {
              "color": plt.get_cmap(cmap)(1.0),
              "fontsize": cb_style["fontsize"],
              "fontfamily": cb_style["fontfamily"],
          },
          "transform": axes.transAxes,
          "va": "center",
      }
  
      for pos, value, align in [
          ((1.0 - width_float) / 2, value_min, "left"),
          (1.0 - (1.0 - width_float) / 2, value_max, "right"),
      ]:
          text = cb.ax.text(
              pos, 0.5, f"{value:.3f}", ha=align, **text_params
          )
          text.set_path_effects(
              [PathEffects.withStroke(linewidth=3, foreground="w")]
          )
  
      _modify_legend_axes(axes, cb_style["fontfamily"])
  
imports: from .styles import _prepare_plot_style, _axes_modify, _display_percentile, _modify_legend_axes, _get_axes_label
  import numpy
  from itertools import cycle
  import plotly.express
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.gridspec import GridSpecFromSubplotSpec
  from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  import matplotlib.patheffects
  import plotly.graph_objects
label_desc: Use image node_id 8 for calling the InteractInfoPlotEngine obj's underlying member method code with example usage: obj._draw_legend_colorbar(value_min, value_max, axes, cmap) without return types