diff --git a/bayesflow/diagnostics/plots/pairs_posterior.py b/bayesflow/diagnostics/plots/pairs_posterior.py index dcce1e689..c6ae3263a 100644 --- a/bayesflow/diagnostics/plots/pairs_posterior.py +++ b/bayesflow/diagnostics/plots/pairs_posterior.py @@ -1,7 +1,6 @@ -from collections.abc import Sequence, Mapping +from collections.abc import Mapping, Sequence import matplotlib.pyplot as plt - import numpy as np import pandas as pd import seaborn as sns @@ -18,7 +17,7 @@ def pairs_posterior( dataset_id: int = None, variable_keys: Sequence[str] = None, variable_names: Sequence[str] = None, - height: int = 3, + height: float = 3.0, post_color: str | tuple = "#132a70", prior_color: str | tuple = "gray", alpha: float = 0.9,