Skip to content

Commit

Permalink
Update dataarray.py
Browse files Browse the repository at this point in the history
Co-authored-by: Illviljan <[email protected]>
  • Loading branch information
max-sixty and Illviljan authored Oct 9, 2023
1 parent 6add7dc commit 297e466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def encoding(self, value: Mapping[Any, Any]) -> None:
self.variable.encoding = dict(value)

def reset_encoding(self) -> Self:
warnings.warn("reset_encoding is deprecated, use `drop_encoding` instead")
warnings.warn("reset_encoding is deprecated since 2023.11, use `drop_encoding` instead")
self.drop_encoding()

def drop_encoding(self) -> Self:
Expand Down

0 comments on commit 297e466

Please sign in to comment.