For the colors, I just use :

textobj.set_color( #FF0000 )
textobj.set_alpha( 0.5 )

For the fonts, I never noticed there were a limit :

textobj.set_fontname( "DejaVu Sans" )

I would be interested in a way to check if the selected font exists on
the system or not, because currently no exception is raised.

Hope it helps.

On Wed, Aug 27, 2008 at 3:54 AM, sa6113 <[EMAIL PROTECTED]> wrote:
>
> Dear All,
> how can I set more color and font for my plot, as I know matplotlib just
> supporte 8 color strings and five fonts.
> Is there any way to extend it for all color and font from system ?
> has every one any useful code about that?
> Thanks
> --
> View this message in context: 
> http://www.nabble.com/set-font-and-color-problem-tp19175632p19175632.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to