code: def decimal_range(start, stop, num):
      """
      Example
      -------
      >>> for x in decimal_range(0, 1, 4):
      ...     print(x)
      0.2
      0.4
      0.6
      0.8
      """
      step = (stop - start) / (num + 1)
  
      for _ in range(num):
          start += step
          yield start
  
file_path: river/river/tree/splitter/histogram_splitter.py
imports: from __future__ import annotations
  import bisect
  import collections
  import functools
  from river import sketch
  from river.sketch.histogram import Bin
  from ..utils import BranchFactory
  from .base import Splitter
label_desc: Use image node_id 1 for calling a global function with example usage: decimal_range(start, stop, num) without return types