Mathieu Leplatre wrote: > For the colors, I just use : > > textobj.set_color( #FF0000 ) > textobj.set_alpha( 0.5 ) > Just to point out -- from this you have access to ~16 million colors. > 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. > This *should* work -- matplotlib should be able to use any font on your system. If not, that's a bug, so please let us know. To help us diagnose the problem, please look here:
http://matplotlib.sourceforge.net/doc/html/faq/troubleshooting_faq.html#how-do-i-report-a-problem Cheers, Mike > 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 > ------------------------------------------------------------------------- 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