Re: [Matplotlib-users] clabel and bbox

2009-08-03 Thread Andres Luhamaa
Jae-Joon Lee wrote: On Sat, Aug 1, 2009 at 5:04 PM, Andres Luhamaa wrote: Thank You, but now I have another little annoying issue. Besides clabel I add some text manually to my plot with plt.text and sometimes the clabel and plt.text overlap, and no matter in which order I plot them, the str

Re: [Matplotlib-users] clabel and bbox

2009-08-02 Thread Jae-Joon Lee
On Sat, Aug 1, 2009 at 5:04 PM, Andres Luhamaa wrote: > Thank You, > > but now I have another little annoying issue. Besides clabel I add some > text manually to my plot with plt.text and sometimes the clabel and > plt.text overlap, and no matter in which order I plot them, the string > from clabel

Re: [Matplotlib-users] clabel and bbox

2009-08-01 Thread Andres Luhamaa
Thank You, but now I have another little annoying issue. Besides clabel I add some text manually to my plot with plt.text and sometimes the clabel and plt.text overlap, and no matter in which order I plot them, the string from clabel is always above the one from plt.text, but I would like, if

Re: [Matplotlib-users] clabel and bbox

2009-08-01 Thread Jae-Joon Lee
The clable command returns a list of Text instances. You need call set_bbox method for each of them. tl = clabel(...) for t in tl: t.set_bbox(dict(fc="y")) For clabels, which are often rotated, it may better to use fancy box style (the default bbox is not rotated even though the text is).

[Matplotlib-users] clabel and bbox

2009-08-01 Thread Andres Luhamaa
Hello! Is it possible to add a bbox behind a clabel, like one can do with a plt.text or something that would look similar? Best regards, Andres -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-D