We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f024bde + 48f3efe commit e11022cCopy full SHA for e11022c
1 file changed
src/sdf_xarray/dataarray_accessor.py
@@ -1,11 +1,16 @@
1
+from __future__ import annotations
2
+
3
from types import MethodType
4
+from typing import TYPE_CHECKING
5
6
import xarray as xr
-from matplotlib.animation import FuncAnimation
7
from xarray.plot.accessor import DataArrayPlotAccessor
8
9
from .plotting import animate, show
10
11
+if TYPE_CHECKING:
12
+ from matplotlib.animation import FuncAnimation
13
14
15
@xr.register_dataarray_accessor("epoch")
16
class EpochAccessor:
0 commit comments