code: def plot_tree_probs(model: SklearnModel, ax=None):
      if ax is None:
          fig, ax = plt.subplots(1, 1)
  
      ax.scatter(np.arange(len(model.probs)), model.probs)
      ax.set_title("Probs")
      ax.set_xlabel("Iteration")
      ax.set_ylabel("Probs")
      # ax.set_ylim((0, 1.1))
      return ax
  
imports: import numpy
  from matplotlib import pyplot
  from ..sklearnmodel import SklearnModel
label_desc: Use image node_id 3 for calling a global function with example usage: plot_tree_probs(model, ax) and returns: ax