Skip to content

Commit 900fafd

Browse files
committed
minor cleaning
1 parent 96589ce commit 900fafd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_diagnostics/test_diagnostics_plots.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,18 @@ def test_z_score_contraction(random_estimates, random_targets):
5858
assert len(out.axes) == num_variables(random_estimates)
5959
assert out.axes[1].title._text == "beta_1"
6060

61+
6162
def test_pairs_samples(random_priors):
6263
out = bf.diagnostics.plots.pairs_samples(
63-
samples = random_priors,
64-
variable_keys = ["beta", "sigma"],
64+
samples=random_priors,
65+
variable_keys=["beta", "sigma"],
6566
)
6667
num_vars = random_priors["sigma"].shape[-1] + random_priors["beta"].shape[-1]
6768
assert out.axes.shape == (num_vars, num_vars)
6869
assert out.axes[0, 0].get_ylabel() == "beta_0"
6970
assert out.axes[2, 2].get_xlabel() == "sigma"
7071

72+
7173
def test_pairs_posterior(random_estimates, random_targets, random_priors):
7274
# basic functionality: automatic variable names
7375
out = bf.diagnostics.plots.pairs_posterior(

0 commit comments

Comments
 (0)