#NEWLINE# def plot_proposal( self , ys ) : #NEWLINE# #INDENT# Visualise . visualise_distribution ( self . distribution , Z = self . Z , Xs = self . Xs , Ys = self . Ys ) #NEWLINE# mcmc_hammer = Kameleon ( self . distribution , self . kernel , self . Z , self . nu2 , self . gamma ) #NEWLINE# for y in ys : #NEWLINE# #INDENT# ( mu , L_R ) = mcmc_hammer . compute_constants ( y ) #NEWLINE# gaussian = Gaussian ( L_R , L_R , is_cholesky = True ) #NEWLINE# hold ( True ) #NEWLINE# Visualise . contour_plot_density ( gaussian ) #NEWLINE# hold ( False ) #NEWLINE# draw ( )