Skip to content

Commit 303fb19

Browse files
radka-jsgreenbury
andauthored
Update autoemulate/core/plotting.py
Co-authored-by: Sam Greenbury <[email protected]>
1 parent f54a16c commit 303fb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoemulate/core/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def plot_xy(
9797
assert ax is not None, "ax must be provided"
9898
# Scatter plot with error bars for predictions
9999
if y_std is not None:
100-
if error_style not in ["bars", "fill"]:
100+
if error_style.lower() not in ["bars", "fill"]:
101101
msg = "error_style must be one of ['bars', 'fill']"
102102
raise ValueError(msg)
103103
if error_style == "bars":

0 commit comments

Comments
 (0)