def plot_fit(self,**kwargs):

		figsize = kwargs.get('figsize',(10,7))

		if len(self.params) == 0:
			raise Exception("No parameters estimated!")
		else:
			plt.figure(figsize=figsize)
			date_index = self.index[max(self.p,self.q):len(self.data)]
			sigma2, Y, ___ = self.model(self.params)
			plt.plot(date_index,np.abs(Y),label=self.data_name + ' Absolute Values')
			plt.plot(date_index,np.exp(sigma2/2),label='EGARCH(' + str(self.p) + ',' + str(self.q) + ') std',c='black')					
			plt.title(self.data_name + " Volatility Plot")	
			plt.legend(loc=2)	
			plt.show()
Add all Capability tests in the ./capability_tests folder
dataset/ETHPy150Open RJT1990/pyflux/pyflux/garch/egarch.py/EGARCH.plot_fit--crossover with--dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/utils/test/TestRunner.py/addCapabilitySuite