code: def _rescale_axis(arr, args):
      amin, amax = args
      rescaled_arr = arr * (amax - amin)
      rescaled_arr += amin
      return rescaled_arr
  
file_path: arviz/arviz/plots/backends/bokeh/kdeplot.py
imports: from collections.abc import Callable
  from numbers import Integral
  import numpy
  from bokeh.models import ColumnDataSource
  from bokeh.models.glyphs import Scatter
  from matplotlib.cm import get_cmap
  from matplotlib.colors import rgb2hex
  from matplotlib.pyplot import rcParams
  from ...plot_utils import _scale_fig_size, _init_kwargs_dict
  from ..None import show_layout
  from .None import backend_kwarg_defaults, create_axes_grid
label_desc: Use image node_id 3 for calling a global function with example usage: _rescale_axis(arr, args) and returns: rescaled_arr