# AUTOGENERATED! DO NOT EDIT! File to edit: ../../../notebooks/plot/index.ipynb.

# %% auto 0
__all__ = ['preview']

# %% ../../../notebooks/plot/index.ipynb 0
from ..datasets import IDsDataset
from space_analysis.ds.ts.plot import tsplot
from space_analysis.ds.ts.io import df2ts

# %% ../../../notebooks/plot/index.ipynb 1
def preview(ds: IDsDataset):
    dfs = [ds.data, ds.plasma_data]
    ts = [df2ts(df) for df in dfs]
    return tsplot(ts)
