Skip to content

Commit ff7348f

Browse files
committed
fix imports
1 parent d4dac25 commit ff7348f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/plopp/core/typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import scipp as sc
99
from numpy import ndarray
10+
from scipp.typing import VariableLike
1011

1112
from .node import Node
1213

@@ -21,7 +22,7 @@ class VisibleDeprecationWarning(UserWarning):
2122

2223
VisibleDeprecationWarning.__module__ = 'plopp'
2324

24-
Plottable = Union[sc.VariableLike, ndarray, Node]
25+
Plottable = Union[VariableLike, ndarray, Node]
2526

2627
PlottableMulti = Union[Plottable, Dict[str, Plottable]]
2728

src/plopp/widgets/drawing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import scipp as sc
88

9-
from ..backends.protocols import FigureLike
109
from ..core import Node, node
10+
from ..core.typing import FigureLike
1111
from .tools import ToggleTool
1212

1313

0 commit comments

Comments
 (0)