code: def scatter_hist(x, y, ax, ax_histx, ax_histy):
      # no labels
      ax_histx.tick_params(axis="x", labelbottom=False)
      ax_histy.tick_params(axis="y", labelleft=False)
  
      # the scatter plot:
      ax.scatter(x, y)
  
      # now determine nice limits by hand:
      binwidth = 0.25
      xymax = max(np.max(np.abs(x)), np.max(np.abs(y)))
      lim = (int(xymax / binwidth) + 1) * binwidth
  
      bins = np.arange(-lim, lim + binwidth, binwidth)
      ax_histx.hist(x, bins=bins)
      ax_histy.hist(y, bins=bins, orientation="horizontal")
  
label_desc: Use image node_id 1 for calling a global function with example usage: scatter_hist(x, y, ax, ax_histx, ax_histy) without return types