code: def plot_beliefs(belief_dist, title=""):
      """
      Utility function that plots a bar chart of a categorical probability distribution,
      with each bar height corresponding to the probability of one of the elements of the categorical
      probability vector.
      """
  
      plt.grid(zorder=0)
      plt.bar(
          range(belief_dist.shape[0]), belief_dist, color="r", zorder=3
      )
      plt.xticks(range(belief_dist.shape[0]))
      plt.title(title)
      plt.show()
  
imports: import numpy
  import pandas
  import seaborn
  import matplotlib.pyplot
  import warnings
  import itertools
label_desc: Use image node_id 36 for calling a global function with example usage: plot_beliefs(belief_dist, title) without return types