File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1212from .streams import GifStream , Mp4Stream
1313from .wrappers import wrap_holoviews , wrap_matplotlib
1414
15- __version__ = "0.0.3 "
15+ __version__ = "0.0.4 "
1616
1717__all__ = [
1818 "GifStream" ,
Original file line number Diff line number Diff line change 55from pathlib import Path
66from typing import TYPE_CHECKING , Any , Callable
77
8- import holoviews as hv
98import numpy as np
10- import pandas as pd
11- import polars as pl
12- import xarray as xr
139
1410from . import _utils
1511from .models import Serialized
2319from .wrappers import wrap_holoviews , wrap_matplotlib
2420
2521if TYPE_CHECKING :
22+ try :
23+ import pandas as pd
24+ except ImportError :
25+ pd = None
26+
27+ try :
28+ import polars as pl
29+ except ImportError :
30+ pl = None
31+
32+ try :
33+ import xarray as xr
34+ except ImportError :
35+ xr = None
36+
37+ try :
38+ import holoviews as hv
39+ except ImportError :
40+ hv = None
41+
2642 from .streams import MediaStream
2743
2844
You can’t perform that action at this time.
0 commit comments