From 8d47808d642df88eba6f54c8d4e775576a71c09d Mon Sep 17 00:00:00 2001 From: Eugen Goebel Date: Sat, 20 Jun 2026 20:33:01 +0200 Subject: [PATCH] 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. --- plotly/express/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotly/express/_core.py b/plotly/express/_core.py index ca3cf6dc5e..1b599cb43c 100644 --- a/plotly/express/_core.py +++ b/plotly/express/_core.py @@ -973,7 +973,7 @@ def make_trace_spec(args, constructor, attrs, trace_patch): ) else: raise ValueError( - f"Invalid value '{args['marginal_' + letter]}' for `marginal_{letter}`." + f"Invalid value '{args['marginal_' + letter]}' for `marginal_{letter}`. " "Supported marginal plot types are: 'rug', 'box', 'violin', 'histogram'." ) if "color" in attrs or "color" not in args: