There is the following chart (this is an instance of several charts of the same type)
How can I add to it the output of the maximum value (in the form of a dot or a strip with the value itself) for each strip:
My code:
df2
fig, ax = plt.subplots(1, figsize=(15,8))
operation_lenght = df2.Duration
bars = ax.barh(df2.Operation, df2.Duration, left=df2.Start, color=df2.Color)
ax.bar_label(bars, label_type='edge', padding = 5.0, labels = df2["Duration"], fontsize= 15)
ax.set_xlabel('Duration')
ax.set_ylabel('Operations')
plt.show()
