How can I set the backgroundcolor of text with set_backgroundcolor ?

Hello -

I want to set the backgroundcolor of text with the set_backgroundcolor function.
Does that actually work?
I saw a more complicated way to do it by defining a bbox, but this would be much easier (if I got it to work).

Here’s my example that doesn’t work.
Thanks for any suggestions,

Mark

from pylab import *
plot([1,2,3])
t = text(1,2,‘Hello’)
t.set_backgroundcolor(‘r’)
draw()