module visualization.bar
Standard Bar Plot.
This function returns a bar plot using the style and coloring of the float framework.
Copyright (C) 2022 Johannes Haug.
function bar
bar(
measures: List[list],
legend_labels: List[str],
y_label: str,
fig_size: tuple = (13, 5),
font_size: int = 16,
x_label: str = 'Time Step $t$'
) → Axes
Returns a bar plot.
Args:
measures
: A list of lists, where each list corresponds to a series of measurements.legend_labels
: Labels for each list of measurements. These labels will be used in the legend.y_label
: The y-axis label text (e.g. the name of the performance measure that is displayed).fig_size
: The figure size (length x height)font_size
: The font size of the axis labels.x_label
: The x-axis label text. This defaults to 'Time Step t'.
Returns:
Axes
: The Axes object containing the bar plot.
This file was automatically generated via lazydocs.