Skip to content

Commit 67fd4ff

Browse files
committed
Change hardcoded defaults
1 parent 912638b commit 67fd4ff

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

xarray/core/parallel.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ def _wrapper(
352352

353353
merged_coordinates = merge(
354354
[arg.coords for arg in args if isinstance(arg, Dataset | DataArray)],
355-
join="outer",
356-
compat="no_conflicts",
355+
join="exact",
356+
compat="override",
357357
).coords
358358

359359
# check all dims are present
@@ -442,7 +442,9 @@ def _wrapper(
442442
xarray_objs = tuple(arg.chunk(arg.chunksizes) for arg in xarray_objs)
443443

444444
merged_coordinates = merge(
445-
[arg.coords for arg in aligned], join="outer", compat="no_conflicts"
445+
[arg.coords for arg in aligned],
446+
join="exact",
447+
compat="override",
446448
).coords
447449

448450
_, npargs = unzip(
@@ -478,7 +480,7 @@ def _wrapper(
478480
coordinates = merge(
479481
(preserved_coords, template.coords.to_dataset()[new_coord_vars]),
480482
join="outer",
481-
compat="no_conflicts",
483+
compat="override",
482484
).coords
483485
output_chunks: Mapping[Hashable, tuple[int, ...]] = {
484486
dim: input_chunks[dim] for dim in template.dims if dim in input_chunks

xarray/plot/dataarray_plot.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,9 @@ def _prepare_plot1d_data(
199199
darray = concat(
200200
[darray, darray_nan],
201201
dim=dim,
202-
data_vars="all",
203-
coords="different",
204-
compat="equals",
205-
join="outer",
202+
coords="minimal",
203+
compat="override",
204+
join="exact",
206205
)
207206
dims_T.append(coords_to_plot[v])
208207

0 commit comments

Comments
 (0)