Skip to content

Commit

Permalink
Add return type to transform_extent (#3169)
Browse files Browse the repository at this point in the history
  • Loading branch information
binste authored Aug 26, 2023
1 parent e5b6d5d commit 303f970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ def transform_joinaggregate(
core.JoinAggregateTransform(joinaggregate=joinaggregate, groupby=groupby)
)

def transform_extent(self, extent: str, param: str):
def transform_extent(self, extent: str, param: str) -> Self:
"""Add a :class:`ExtentTransform` to the spec.
Parameters
Expand Down

0 comments on commit 303f970

Please sign in to comment.