code: def hist(ax, lbp):
      n_bins = int(lbp.max() + 1)
      return ax.hist(
          lbp.ravel(),
          density=True,
          bins=n_bins,
          range=(0, n_bins),
          facecolor="0.5",
      )
  
file_path: scikit-image/doc/examples/features_detection/plot_local_binary_pattern.py
imports: import numpy
  import matplotlib.pyplot
  from skimage.transform import rotate
  from skimage.feature import local_binary_pattern
  from skimage import data
  from skimage.color import label2rgb
label_desc: Use image node_id 5 for calling a global function with example usage: hist(ax, lbp) and returns: ax