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! Cheers, Martin -- View this message in context: http://old.nabble.com/matplotlib.rcParams%28update%29-and-parallel-python-tp32669484p32669484.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users