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):
590590 For now, this is setting ``xincrease`` and ``yincrease``. It could set
591591 other arguments in the future.
592592 """
593- valid_keys = self .accessor .get_valid_keys ()
593+ valid_keys = self .accessor .keys ()
594594
595595 @functools .wraps (func )
596596 def _plot_wrapper (* args , ** kwargs ):
@@ -812,7 +812,7 @@ def __contains__(self, item: str) -> bool:
812812 """
813813 Check whether item is a valid key for indexing with .cf
814814 """
815- return item in self .get_valid_keys ()
815+ return item in self .keys ()
816816
817817 @property
818818 def plot (self ):
@@ -1183,8 +1183,8 @@ def rename_like(
11831183 -------
11841184 DataArray or Dataset with renamed variables
11851185 """
1186- ourkeys = self .get_valid_keys ()
1187- theirkeys = other .cf .get_valid_keys ()
1186+ ourkeys = self .keys ()
1187+ theirkeys = other .cf .keys ()
11881188
11891189 good_keys = set (_COORD_NAMES ) & ourkeys & theirkeys
11901190 if not good_keys :
You can’t perform that action at this time.
0 commit comments