Skip to content

Commit 4a33711

Browse files
committed
fix #330
1 parent de59fb8 commit 4a33711

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bayesflow/diagnostics/plots/pairs_posterior.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ def pairs_posterior(
114114
return g
115115

116116

117-
def plot_true_params(x, **kwargs):
117+
def plot_true_params(x, hue=None, **kwargs):
118118
"""Custom function to plot true parameters on the diagonal."""
119-
120119
# hue needs to be added to handle the case of plotting both posterior and prior
121120
param = x.iloc[0] # Get the single true value for the diagonal
122121
# only plot on the diagonal a vertical line for the true parameter

0 commit comments

Comments
 (0)