First of all, Multiple Peak Fit involves manually specifying peaks on the graph. Do you want Python to pause at this point to allow peak selection before running the fitting with the saved settings? Or are you looking to fit just one peak (shown on the graph) or fixed number of peaks?
So I want the programm to choose a theme before the fitting.
For now, I found a sort of compromise by making a labtalk programm that calls the python programm to launch the graph, and then fitting with my theme with talklab.