"Dynamical" style sheets

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

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
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.

···

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