Currently all the plot functions check near the end whether the path to save the fig to exists etc and whether nooverwrite is enabled, if any of those errors are raised a lot of time was wasted on basically plotting the whole thing and then throwing it out.
Thus the handling of output path should be moved as early as possible in the code, this may require moving around some variables and calls as the default filename relies on several variables defined during the plotting.
See for example in plot_vdf