plt.savefig(filename, bbox_inches='tight')
--> get the entire plot when saved- Reset to factory default
matplotlib
style
import matplotlib as mpl
mpl.rcParams.update(mpl.rcParamsDefault)
plt.axes('tight')
removes all space around the area of the curveplt.axes('equal')
ensures x-y evenplt.axhline(y=production_accuracy, linewidth=2, color='k', label='production')
horizontal line