Skip to content

Commit 1f31713

Browse files
committed
fix typing
1 parent b6aee64 commit 1f31713

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoemulate/core/compare.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import warnings
33
from datetime import datetime
44
from pathlib import Path
5+
from typing import Literal
56

67
import joblib
78
import matplotlib.pyplot as plt
@@ -597,7 +598,7 @@ def plot( # noqa: PLR0912, PLR0915
597598
output_index: list[int] | int | None = None,
598599
input_ranges: dict | None = None,
599600
output_ranges: dict | None = None,
600-
error_style: str = "bars",
601+
error_style: Literal["bars", "fill"] = "bars",
601602
figsize=None,
602603
ncols: int = 3,
603604
fname: str | None = None,

0 commit comments

Comments
 (0)