code: def _add_between_points(
      arr, arr_2, val_arr_2, range_global, i_begin, i_end, arr_text=None
  ):
      curr_val = arr[i_begin]
      last_val = arr[i_end]
      range_curr = abs(curr_val - last_val)
      num = int((range_curr * 40) / range_global)
      num = max(num, 5)
      new_points = np.linspace(
          curr_val,
          last_val,
          num=num,
      )
      i_curr = i_begin + 1
      arr = np.insert(arr, i_curr, new_points[1:-1])
      arr_2 = np.insert(arr_2, i_curr, [val_arr_2] * (num - 2))
      if arr_text is not None:
          arr_text = np.insert(arr_text, i_curr, [None] * (num - 2))
      return arr, arr_2, num - 2, arr_text
  
file_path: DALEX/python/dalex/dalex/aspect/_model_triplot/plot.py
imports: import numpy
  import plotly.graph_objects
  from copy import deepcopy
  from dalex import _theme, _global_utils
label_desc: Use image node_id 7 for calling a global function with example usage: _add_between_points(arr, arr_2, val_arr_2, range_global, i_begin, i_end, arr_text) and returns: arr,  arr_2,  unknown,  arr_text