Skip to content

Commit f9f807f

Browse files
committed
fix comments
1 parent 2fdc5c3 commit f9f807f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bayesflow/diagnostics/plots/loss.py

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

33
import numpy as np
44
import pandas as pd
@@ -14,8 +14,7 @@ def loss(
1414
history: keras.callbacks.History,
1515
train_key: str = "loss",
1616
val_key: str = "val_loss",
17-
moving_average: bool = True,
18-
moving_average_alpha: float = 0.8,
17+
smoothing_factor: float = 0.8,
1918
figsize: Sequence[float] = None,
2019
train_color: str = "#132a70",
2120
val_color: str = None,

0 commit comments

Comments
 (0)