create_categorical_plot

class maze.core.log_events.log_create_figure_functions.create_categorical_plot(value: List[Tuple[int, int]] | List[int] | List[float] | numpy.ndarray, **kwargs)

Checks the type of value and calls the correct plotting function accordingly.

Parameters:
  • value – Output of a reducer function

  • kwargs – Additional plotting relevant arguments.

Returns:

plt.figure that contains a bar plot