Skip to content

Commit 1d5398b

Browse files
committed
Fix the propagation of legend_fontsize
1 parent c0c136f commit 1d5398b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bayesflow/diagnostics/plots/pairs_posterior.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def pairs_posterior(
117117
g.map_offdiag(plot_true_params_as_points, color=target_color)
118118

119119
create_legends(
120-
g, plot_data, color=post_color, color2=prior_color, fontsize=legend_fontsize, show_single_legend=False
120+
g, plot_data, color=post_color, color2=prior_color, legend_fontsize=legend_fontsize, show_single_legend=False
121121
)
122122

123123
return g

bayesflow/diagnostics/plots/pairs_samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _pairs_samples(
196196
plot_data,
197197
color=color,
198198
color2=color2,
199-
fontsize=legend_fontsize,
199+
legend_fontsize=legend_fontsize,
200200
label=label,
201201
show_single_legend=show_single_legend,
202202
)

0 commit comments

Comments
 (0)