I have this pandas dataframe:
production consumption
year
2013 0.426669 0.573331
2014 0.436364 0.563636
2015 0.419941 0.580059
2016 0.448378 0.551622
2017 0.442212 0.557788
2018 0.422724 0.577276
2019 0.445296 0.554704
and I plot a stacked bar chart using df.plot.bar(stacked=True) function
Productions and consumptions are in %
Is it possible to add percentages into bars?