I have around 100 python files, that each create one figure using matplotlib.
Since I want to use all CPU cores, I basically did "for filename in files:
execfile(filename)" using a python script. However, this does not produce
the same output as running each file separately (for instance axes, figure
size are sometime wrong).
I _think_ I narrowed it down to this: In all files I need to do
"matplotlib.rcParams(update)". I guess that this influences the matplotlib
rc parameters and thus somehow values from some figures are used for others.
So, my question is, how can I do something like
"matplotlib.rcParams(update)" so that it does not influence other scripts
that are run in parallel using 'execfile'? Or, how do I set rc parameters
for one specific script?
BTW, I tried 'pp' and 'multiprocessing', same problem with both.
Any help is greatly appreciated!
View this message in context: http://old.nabble.com/matplotlib.rcParams(update)-and-parallel-python-tp32669484p32669484.html
Sent from the matplotlib - users mailing list archive at Nabble.com.