Skip to content

Commit fa250a5

Browse files
committed
pairs_postorior: inconsistent type hint fix
1 parent dc5ee17 commit fa250a5

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
@@ -18,7 +17,7 @@ def pairs_posterior(
1817
dataset_id: int = None,
1918
variable_keys: Sequence[str] = None,
2019
variable_names: Sequence[str] = None,
21-
height: int = 3,
20+
height: float = 3.0,
2221
post_color: str | tuple = "#132a70",
2322
prior_color: str | tuple = "gray",
2423
alpha: float = 0.9,

0 commit comments

Comments
 (0)