You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x_label="Confidence Interval of the Posterior Volume",
69
-
y_label="Fraction of Lenses within Posterior Volume",
70
-
title="NPE") ->tuple["fig", "ax"]:
124
+
y_label="Coverage fraction within posterior volume",
125
+
residual_y_label="Coverage Fraction Residual",
126
+
title=""
127
+
) ->tuple["fig", "ax"]:
71
128
"""
72
-
Args:
129
+
Plot the coverage fraction and residuals if specified.
130
+
131
+
Args:
132
+
data_display (Union[DataDisplay, str]): DataDisplay object or path to h5 file containing the data. If str, it will be loaded and requires the fields "coverage_fractions", "coverage_percentiles", and optionally "coverage_std".
73
133
figure_alpha (float, optional): Opacity of parameter lines. Defaults to 1.0.
74
134
line_width (int, optional): Width of parameter lines. Defaults to 3.
75
-
legend_loc (str, optional): Location of the legend, str based on `matplotlib <https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.legend.html>`_. Defaults to "lower right".
135
+
legend_loc (str, optional): Location of the legend. Defaults to matplotlib specified.
136
+
include_coverage_std (bool, optional): Whether to include the standard deviation shading for coverage fractions . Defaults to False.
137
+
include_coverage_residual (bool, optional): Whether to include the residual plot (coverage fraction - diagonal). Creates an additional subplot under the original plot. Defaults to False.
138
+
include_coverage_residual_std (bool, optional): Whether to include the standard deviation shading for residuals. Defaults to False.
139
+
include_ideal_range (bool, optional): Whether to include the ideal range shading (0.1/0.2 around the diagonal). Defaults to True.
76
140
reference_line_label (str, optional): Label name for the diagonal ideal line. Defaults to "Reference Line".
77
141
reference_line_style (str, optional): Line style for the reference line. Defaults to "k--".
78
142
x_label (str, optional): y label. Defaults to "Confidence Interval of the Posterior Volume".
79
143
y_label (str, optional): y label. Defaults to "Fraction of Lenses within Posterior Volume".
144
+
residual_y_label (str, optional): y label for the residual plot. Defaults to "Coverage Fraction Residual".
80
145
title (str, optional): plot title. Defaults to "NPE".
0 commit comments