code: def create_histogram(value) -> plt.Figure:
      """
      Creates simple matplotlib histogram of value.
  
      :param value: output of an event
      :return: plt.figure that contains a bar plot
      """
      fig = plt.figure()
      plt.hist(x=value)
      return fig
  
file_path: maze/maze/core/log_events/log_create_figure_functions.py
imports: from collections import Counter
  from typing import List, Tuple, Union
  import matplotlib.pyplot
  import numpy
  from maze.core.annotations import unused
label_desc: Use image node_id 3 for calling a global function with example usage: create_histogram(value) and returns: fig