From 3ef2a0f9580e5a4715be878c73751454089c945d Mon Sep 17 00:00:00 2001 From: Bryan Head Date: Sat, 22 Jul 2023 16:08:18 -0700 Subject: [PATCH] Fix Plot.add transforms to accept Move, not Mark (#3425) Fixes the type in accordance with the intention of #2948 --- seaborn/_core/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaborn/_core/plot.py b/seaborn/_core/plot.py index 66e4ec8d78..5341612edd 100644 --- a/seaborn/_core/plot.py +++ b/seaborn/_core/plot.py @@ -485,7 +485,7 @@ def on(self, target: Axes | SubFigure | Figure) -> Plot: def add( self, mark: Mark, - *transforms: Stat | Mark, + *transforms: Stat | Move, orient: str | None = None, legend: bool = True, data: DataSource = None,