Wanted to Add Additional Data to Horizontal Bar Chart
The largest difference between what I've found on other questions is the ability to grab the 3rd columns from the dataframe and assigned to associate bar. For example, on CAR-1, you see the bar associated to points (57.6), but I also want to show the associated salary on the bar of 19600.
Below is the code that I'm using to display to the horizontal chart. I have 3 columns dataset that I'm using (team_reg_line, salary, L5_ppg_max). I'm trying to have the salary data show in a label of each associated bar.
# Set the Bar Plot Labels and Title
import matplotlib.pyplot as plot
ax = merge_3_man_sum_salary_max['L5_ppg_max'].plot(kind="barh", figsize=(15, 20), stacked=True, rot=1, color=['blue', 'red'])
plot.title("Max Point per 3-Man Team")
plot.xlabel("Max Points")
plot.ylabel("Team and Line")
plot.show(block=True);
Chart:
Data: