Skip to content

Commit 3ef2a0f

Browse files
authored
Fix Plot.add transforms to accept Move, not Mark (mwaskom#3425)
Fixes the type in accordance with the intention of mwaskom#2948
1 parent 9087437 commit 3ef2a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seaborn/_core/plot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def on(self, target: Axes | SubFigure | Figure) -> Plot:
485485
def add(
486486
self,
487487
mark: Mark,
488-
*transforms: Stat | Mark,
488+
*transforms: Stat | Move,
489489
orient: str | None = None,
490490
legend: bool = True,
491491
data: DataSource = None,

0 commit comments

Comments
 (0)