Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CB-quakemodel committed Jul 23, 2024
1 parent 112659c commit 30a65ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openquake/smt/residuals/residual_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def likelihood(residuals, gmpe, imt, bin_width=0.1, as_json=False):
:return: a dict mapping each residual type (string, e.g. 'Intra event') to
a dict with (at least) the mandatory keys 'x', 'y', 'xlabel', 'ylabel'
representing the plot data.
Additional keys: 'median' (float) representing the median of the data
Additional keys: 'median' (float) representing
the median of the data
'''
plot_data = {}
data = residuals._get_likelihood_values_for(gmpe, imt)
Expand Down

0 comments on commit 30a65ce

Please sign in to comment.