matplotlib.axes.Axes.bar_label — Matplotlib 3.5.1 documentation
matplotlib.org › stable › apiLabel a bar plot. Adds labels to bars in the given BarContainer. You may need to adjust the axis limits to fit the labels. Parameters container BarContainer. Container with all the bars and optionally errorbars, likely returned from bar or barh. labels array-like, optional. A list of label texts, that should be displayed. If not given, the label texts will be the data values formatted with fmt.