Skip to content

Commit

Permalink
Pass assign_coords as kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 9, 2020
1 parent f0fad57 commit b0b252c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/data/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def assign(cls, dataset, new_data):
v = v[::-1]
coords[k] = (k, v)
if coords:
data = data.assign_coords(coords)
data = data.assign_coords(**coords)
dims = tuple(kd.name for kd in dataset.kdims[::-1])
vars = OrderedDict()
for k, v in new_data.items():
Expand Down

0 comments on commit b0b252c

Please sign in to comment.