diff --git a/anesthetic/samples.py b/anesthetic/samples.py index 74a53ab6..271a7d8b 100644 --- a/anesthetic/samples.py +++ b/anesthetic/samples.py @@ -254,7 +254,7 @@ def plot_1d(self, axes=None, *args, **kwargs): if np.isinf(self[x]).any(): warnings.warn(f"column {x} has inf values.") selfx = self[x].replace([-np.inf, np.inf], np.nan) - selfx.plot(ax=ax, xlabel=xlabel, logx=x in logx, + selfx.plot(ax=ax, xlabel=xlabel, logx=x in logx, *args, **kwargs) ax.set_xlabel(xlabel) else: