the reason to make plots programmatically is typically because you're already processing the data in python in ways that would have been too complicated if you'd do it in excel a table calculation program.
Oh my, no the other way round, spreadsheet loads the data and let excel handle it. I think you can probably even embed python at this point. I'm not seriously advocating for this approach either, to be clear.
This doesn’t help with reproducibility much. In fact it would make it worse as now you’re throwing windows into the mix needlessly as well as implicitly depending on excel at a point in time. Let’s not introduce more non determinism when it isn’t needed.