Le 03/03/2015 18:38, Christophe Bal a écrit :

Hello.

Is it possible to define a stryle sheet in a string variable and then load it ?

*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French math teacher in a "Lycée" **and **Python **amateur developer*


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

You mean put a stylesheet name in a list and then load it?
If that is the case, it is indeed possible. You can look at |matplotlib.style.use| <http://matplotlib.org/api/style_api.html?highlight=style#module-matplotlib.style> to do that. If you want to change parameters (like text font, size, color…) from a list, it seems to me it is possible, but I guess you would have to use rc parameters in your script.

​
--
*Marin GILLES*
/PhD student CNRS
/ /Laboratoire Interdisciplinaire Carnot de Bourgogne (ICB)
UMR 6303 CNRS - Université de Bourgogne
9 av Alain Savary, BP 47870
21078, Dijon (France)
/ ☎ (+33)6.79.35.30.11
✉ marin.gil...@u-bourgogne.fr <mailto:marin.gil...@u-bourgogne.fr>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to