We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ffced commit b27583cCopy full SHA for b27583c
bayesflow/diagnostics/plots/plot_quantity.py
@@ -214,7 +214,7 @@ def _prepare_values(
214
if all([key in values for key in ["values", "metric_name", "variable_names"]]):
215
# output of a metric function
216
label = values["metric_name"] if label is None else label
217
- variable_names = values["variable_names"]
+ variable_names = variable_names or values["variable_names"]
218
values = values["values"]
219
220
if hasattr(values, "variable_keys"):
0 commit comments