code: def test_create_histogram():
      """unit tests"""
      fig = create_histogram(
          np.random.randint(low=0, high=10, size=100)
      )
      plt.close(fig)
  
file_path: maze/maze/test/core/log_events/test_log_create_figure_functions.py
imports: import numpy
  import matplotlib.pyplot
  from pytest import raises
  from maze.core.log_events.log_create_figure_functions import create_histogram, create_categorical_plot, create_violin_distribution, create_binary_plot
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_histogram() without return types