With bbox parameter, you can draw a box (or a path) around a text.
http://matplotlib.sourceforge.net/users/annotations_guide.html#annotating-with-text-with-box
There a several box styles, but unfortunately no circle. However, you
can create a custom box style.
http://matplotlib.sourceforge.net/u
Nathann Cohen, on 2010-12-26 22:27, wrote:
> Hello everybody !!!
>
> When adding some text to a plot, is there a way to know the actual
> size of the letters as they appear, in such a way that I could, for
> instance, draw a circle around a 'A', so that the A perfectly fits
> inside ("the smalles
Hello everybody !!!
When adding some text to a plot, is there a way to know the actual
size of the letters as they appear, in such a way that I could, for
instance, draw a circle around a 'A', so that the A perfectly fits
inside ("the smallest circle containing the letter"), regardless of
the actu