I am use this code,
import matplotlib.pyplot as plt from numpy import exp, loadtxt, pi, sqrt from lmfit import Model data = loadtxt(\'model1d_gauss.dat\') x