Skip to content

Commit

Permalink
Fix Plot.add transforms to accept Move, not Mark (#3425)
Browse files Browse the repository at this point in the history
Fixes the type in accordance with the intention of #2948
  • Loading branch information
qiemem committed Jul 22, 2023
1 parent 9087437 commit 3ef2a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seaborn/_core/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3ef2a0f

Please sign in to comment.