If you want to display the actual value of the slices of your pie chart you must provide to the labels those values:
def autopct_format(values):
def my_format(pct):
total = sum(values)
val = int(round(pct*total/100.0))
return '{v:d}'.format(v=val)
return my_format
plt.pie(pie_shares, labels = positions, autopct = autopct_format(pie_shares))
In the matplotlib resources, it is mentioned that autopct can be a string format and a function, so, we create a custom function that formats each pct to display the actual value from the percentages used commonly by this feature.