Skip to content

Commit cc5a934

Browse files
committed
review feedback
1 parent 7b3fb24 commit cc5a934

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

xarray/core/options.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class T_Options(TypedDict):
2727
enable_cftimeindex: bool
2828
file_cache_maxsize: int
2929
keep_attrs: Literal["default", True, False]
30-
warn_for_unclosed_files: bool
3130
use_bottleneck: bool
31+
warn_for_unclosed_files: bool
3232

3333

3434
else:
@@ -60,8 +60,8 @@ class T_Options(TypedDict):
6060
enable_cftimeindex: bool
6161
file_cache_maxsize: int
6262
keep_attrs: Literal["default", True, False]
63-
warn_for_unclosed_files: bool
6463
use_bottleneck: bool
64+
warn_for_unclosed_files: bool
6565

6666
except ImportError:
6767
from typing import TYPE_CHECKING, Any, Dict, Hashable
@@ -86,8 +86,8 @@ class T_Options(TypedDict):
8686
"enable_cftimeindex": True,
8787
"file_cache_maxsize": 128,
8888
"keep_attrs": "default",
89-
"warn_for_unclosed_files": False,
9089
"use_bottleneck": True,
90+
"warn_for_unclosed_files": False,
9191
}
9292

9393
_JOIN_OPTIONS = frozenset(["inner", "outer", "left", "right", "exact"])
@@ -110,8 +110,8 @@ def _positive_integer(value):
110110
"enable_cftimeindex": lambda value: isinstance(value, bool),
111111
"file_cache_maxsize": _positive_integer,
112112
"keep_attrs": lambda choice: choice in [True, False, "default"],
113-
"warn_for_unclosed_files": lambda value: isinstance(value, bool),
114113
"use_bottleneck": lambda value: isinstance(value, bool),
114+
"warn_for_unclosed_files": lambda value: isinstance(value, bool),
115115
}
116116

117117

@@ -160,14 +160,14 @@ class set_options:
160160
----------
161161
arithmetic_join : {"inner", "outer", "left", "right", "exact"}, default: "inner"
162162
DataArray/Dataset alignment in binary operations.
163-
cmap_sequential : str or matplotlib.colors.Colormap, default: "viridis"
164-
Colormap to use for nondivergent data plots. If string, must be
165-
matplotlib built-in colormap. Can also be a Colormap object
166-
(e.g. mpl.cm.magma)
167163
cmap_divergent : str or matplotlib.colors.Colormap, default: "RdBu_r"
168164
Colormap to use for divergent data plots. If string, must be
169165
matplotlib built-in colormap. Can also be a Colormap object
170166
(e.g. mpl.cm.magma)
167+
cmap_sequential : str or matplotlib.colors.Colormap, default: "viridis"
168+
Colormap to use for nondivergent data plots. If string, must be
169+
matplotlib built-in colormap. Can also be a Colormap object
170+
(e.g. mpl.cm.magma)
171171
display_expand_attrs : {"default", True, False}:
172172
Whether to expand the attributes section for display of
173173
``DataArray`` or ``Dataset`` objects. Can be

0 commit comments

Comments
 (0)