Skip to content

Commit 6914baf

Browse files
authored
pairs_postorior: inconsistent type hint fix (#562)
1 parent 12b06b9 commit 6914baf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bayesflow/diagnostics/plots/pairs_posterior.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from collections.abc import Sequence, Mapping
1+
from collections.abc import Mapping, Sequence
22

33
import matplotlib.pyplot as plt
4-
54
import numpy as np
65
import pandas as pd
76
import seaborn as sns
@@ -19,7 +18,7 @@ def pairs_posterior(
1918
dataset_id: int = None,
2019
variable_keys: Sequence[str] = None,
2120
variable_names: Sequence[str] = None,
22-
height: int = 3,
21+
height: float = 3.0,
2322
post_color: str | tuple = "#132a70",
2423
prior_color: str | tuple = "gray",
2524
target_color: str | tuple = "red",

0 commit comments

Comments
 (0)