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).
t.set_bbox(dict(boxstyle="round",fc="y"))
Regards,
-JJ
On Sat, Aug 1, 2009 at 5:32 AM, Andres Luhamaa<[email protected]> wrote:
> 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-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users