Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Aug 30, 2024
1 parent 401e685 commit 3243cbb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hvplot/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ def process_xarray(
by,
groupby,
use_dask,
use_xvec,
persist,
gridded,
label,
Expand All @@ -506,8 +505,6 @@ def process_xarray(
):
import xarray as xr

print(type(data))

if isinstance(data, xr.Dataset):
dataset = data
else:
Expand All @@ -531,8 +528,6 @@ def process_xarray(

data_vars = list(dataset.data_vars)
ignore = (by or []) + (groupby or [])
if use_xvec:
ignore += list(data.xvec.geom_coords)

dims = [c for c in dataset.coords if dataset[c].shape != () and c not in ignore][::-1]
index_dims = [d for d in dims if d in dataset.indexes]
Expand Down

0 comments on commit 3243cbb

Please sign in to comment.