import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.text(0.2,0.2, 'A', fontsize=20)
ax.text(0.5,0.5, 'B', fontsize=20, fontstretch='ultra-expanded')
plt.show()
"A" and "B" are showing exactly the same, and I don't want that. The fontstretch parameter is doing nothing. How can I get the font to stretch like I want it to?
EDIT: I am trying to get the horizontal width of the letters themselves changed, not the spacing between them.