Skip to content

Commit

Permalink
Merge pull request #22 from ahuang11/fix_propagating_fsspec_fs
Browse files Browse the repository at this point in the history
Propagate fsspec_fs
ahuang11 authored Apr 4, 2024
2 parents 1c87e78 + 77c24c5 commit 8a7c706
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions streamjoy/serializers.py
Original file line number Diff line number Diff line change
@@ -108,6 +108,7 @@ def serialize_xarray(
renderer = wrap_matplotlib(
in_memory=kwargs.get("in_memory"),
scratch_dir=kwargs.get("scratch_dir"),
fsspec_fs=kwargs.get("fsspec_fs"),
)(default_xarray_renderer)
ds_0 = resources[0]
if ds_0.ndim >= 2:
@@ -169,6 +170,7 @@ def serialize_pandas(
renderer = wrap_matplotlib(
in_memory=kwargs.get("in_memory"),
scratch_dir=kwargs.get("scratch_dir"),
fsspec_fs=kwargs.get("fsspec_fs"),
)(default_pandas_renderer)
if "x" not in renderer_kwargs:
if df.index.name or isinstance(df, pd.Series):
@@ -246,6 +248,7 @@ def serialize_polars(
renderer = wrap_holoviews(
in_memory=kwargs.get("in_memory"),
scratch_dir=kwargs.get("scratch_dir"),
fsspec_fs=kwargs.get("fsspec_fs"),
)(default_polars_renderer)
numeric_cols = [
col
@@ -341,6 +344,7 @@ def _select_element(hv_obj, key):
renderer = wrap_holoviews(
in_memory=kwargs.get("in_memory"),
scratch_dir=kwargs.get("scratch_dir"),
fsspec_fs=kwargs.get("fsspec_fs"),
)(default_holoviews_renderer)
clims = {}
for hv_el in hv_obj.traverse(full_breadth=False):

0 comments on commit 8a7c706

Please sign in to comment.