Do more preformat work instead of during runtime of python plotting