Skip to content

Commit 0f5cb5c

Browse files
committed
Fixing test_quantities problem in plot_quantity/pairs_quantity
1 parent 0e2d646 commit 0f5cb5c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bayesflow/diagnostics/plots/plot_quantity.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,12 @@ def _prepare_values(
213213

214214
if estimates is not None:
215215
if is_values_callable:
216-
values = values(estimates=estimates, targets=targets, **filter_kwargs({"aggregation": None}, values))
216+
values = values(
217+
estimates=estimates,
218+
targets=targets,
219+
variable_keys=variable_keys,
220+
**filter_kwargs({"aggregation": None}, values),
221+
)
217222

218223
data = dicts_to_arrays(
219224
estimates=estimates,

0 commit comments

Comments
 (0)