Skip to content

Commit 8d47808

Browse files
committed
Add missing space in unsupported-marginal error message
Follow-up to #5625. The f-string refactor merged there concatenated two adjacent string literals without a separating space, so the message rendered as "...for `marginal_x`.Supported marginal plot types...". This restores the space after the period.
1 parent 50bb20b commit 8d47808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plotly/express/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ def make_trace_spec(args, constructor, attrs, trace_patch):
973973
)
974974
else:
975975
raise ValueError(
976-
f"Invalid value '{args['marginal_' + letter]}' for `marginal_{letter}`."
976+
f"Invalid value '{args['marginal_' + letter]}' for `marginal_{letter}`. "
977977
"Supported marginal plot types are: 'rug', 'box', 'violin', 'histogram'."
978978
)
979979
if "color" in attrs or "color" not in args:

0 commit comments

Comments
 (0)