We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1a002 commit 5c0a6dbCopy full SHA for 5c0a6db
1 file changed
xarray/core/options.py
@@ -148,10 +148,13 @@ def _positive_integer(value: Any) -> bool:
148
"use_opt_einsum": lambda value: isinstance(value, bool),
149
"use_flox": lambda value: isinstance(value, bool),
150
"warn_for_unclosed_files": lambda value: isinstance(value, bool),
151
- "facetgrid_figsize": lambda value: value in _FACETGRID_FIGSIZE_OPTIONS or (
152
- isinstance(value, tuple)
153
- and len(value) == 2
154
- and all(isinstance(v, (int, float)) for v in value)
+ "facetgrid_figsize": lambda value: (
+ value in _FACETGRID_FIGSIZE_OPTIONS
+ or (
+ isinstance(value, tuple)
155
+ and len(value) == 2
156
+ and all(isinstance(v, (int, float)) for v in value)
157
+ )
158
),
159
}
160
0 commit comments