Sampler visualization
A function to visualize the sampler is provided (mostly for debugging purposes) through an extension which is loaded when Makie.jl is present in the environment.
AdaptiveRejectionSampling.hullplot — Function
hullplot(x, sampler, ...)Plots the sampler (upper/lower hulls and abscissae) as well as the target function.
Keyword arguments
abscissae= truetarget= falseupper_hull= truelower_hull= truetarget_linewidth= @inherit linewidthupper_hull_linewidth= @inherit linewidthlower_hull_linewidth= @inherit linewidthtarget_label= "Target"upper_hull_label= "Upper hull"lower_hull_label= "Lower hull"abscissae_label= "Abscissae"
AdaptiveRejectionSampling.hullplot! — Function
hullplot!([ax, ], x, sampler, ...)