(self, modelname, plotname, save)
helper function to save the model as a .png
    :param modelname: represents the model from which to save
    :param plotname: specific plot to save
    :param save: whether to save it or not
helper function to save the model as a .png
    :param modelname: represents the model from which to save
    :param plotname: specific plot to save
    :param save: whether to save it or not
helper function to save the model as a . png : param modelname : represents the model from which to save : param plotname : specific plot to save : param save : whether to save it or not
def save_and_plot(self, modelname, plotname, save):
    '''
    helper function to save the model as a .png
    :param modelname: represents the model from which to save
    :param plotname: specific plot to save
    :param save: whether to save it or not
    '''
    img = self.models[modelname]['plots'][plotname]
    if save:
        img.savefig("{}_{}.png".format(modelname, plotname))
    img.show()
def save_and_plot ( self , modelname , plotname , save ) : img = self . models [ modelname ] [ 'plots' ] [ plotname ] if save : img . savefig ( "{}_{}.png" . format ( modelname , plotname ) ) img . show ( )