various edits to plot_fit function and manual