Finally figured it out after pulling some hear.
Using axes.annotate instead of axes.text worked for me, i.e.
something like this:
axes.annotate(hstr, xy=(xCorr, yCorr), xytext=(0, 5), textcoords='offset
points')
instead of what I did originally.
Werner
On 08/11/2010 16:21, Werner F. Bruhin
I like to have 2 or 3 text elements stacked on top of each other on
top of a bar.
Currently it works for the first text element by doing:
height = bar.get_height()
xCorr = bar.get_x()
yCorr = 0.20 + height
txtax = axes.text(xCorr, yCorr, hstr)
trying to add the second text just above the
On Tue, Nov 9, 2010 at 12:21 AM, Werner F. Bruhin werner.bru...@free.fr wrote:
I like to have 2 or 3 text elements stacked on top of each other on
top of a bar.
Currently it works for the first text element by doing:
height = bar.get_height()
xCorr = bar.get_x()
yCorr = 0.20 + height