File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ def _plot_decorator(self, func):
590
590
For now, this is setting ``xincrease`` and ``yincrease``. It could set
591
591
other arguments in the future.
592
592
"""
593
- valid_keys = self .accessor .get_valid_keys ()
593
+ valid_keys = self .accessor .keys ()
594
594
595
595
@functools .wraps (func )
596
596
def _plot_wrapper (* args , ** kwargs ):
@@ -812,7 +812,7 @@ def __contains__(self, item: str) -> bool:
812
812
"""
813
813
Check whether item is a valid key for indexing with .cf
814
814
"""
815
- return item in self .get_valid_keys ()
815
+ return item in self .keys ()
816
816
817
817
@property
818
818
def plot (self ):
@@ -1183,8 +1183,8 @@ def rename_like(
1183
1183
-------
1184
1184
DataArray or Dataset with renamed variables
1185
1185
"""
1186
- ourkeys = self .get_valid_keys ()
1187
- theirkeys = other .cf .get_valid_keys ()
1186
+ ourkeys = self .keys ()
1187
+ theirkeys = other .cf .keys ()
1188
1188
1189
1189
good_keys = set (_COORD_NAMES ) & ourkeys & theirkeys
1190
1190
if not good_keys :
You can’t perform that action at this time.
0 commit comments