autolens.plot.subplot_sensitivity_figures_of_merit#
- subplot_sensitivity_figures_of_merit(result, output_path=None, output_format=None, colormap=None, use_log_evidences=True, remove_zeros=True)#
Produce a single-panel subplot showing the sensitivity figures-of-merit grid.
Extracts the 2-D array of figures of merit (either log-evidence or log-likelihood increases) from the sensitivity-mapping result and renders it as a single image. This is the compact version of the sensitivity diagnostic; see
subplot_sensitivityfor the full multi-panel version.- Parameters:
result (SensitivityResult) – A sensitivity-mapping result object exposing
figure_of_merit_array.output_path (
Optional[str]) – Directory in which to save the figure. IfNonethe figure is not saved to disk.output_format (
str) – Image format passed tosave_figure.use_log_evidences (
bool) – IfTrue(default) the log-evidence increase is used as the figure of merit; otherwise the log-likelihood increase is used.remove_zeros (
bool) – IfTrue(default) grid positions where the figure of merit is exactly zero are masked out before plotting.