Skip to content

Commit 25385be

Browse files
authored
remove jupyter check for ImageWidget, breaks voila and ipywidget @interact_manaual (#324)
1 parent 2902220 commit 25385be

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

fastplotlib/widgets/image.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import weakref
21
from typing import *
32
from warnings import warn
43
from functools import partial
54

65
import numpy as np
76

8-
from wgpu.gui.auto import is_jupyter
97
from ipywidgets.widgets import (
108
IntSlider,
119
VBox,
@@ -294,11 +292,6 @@ def __init__(
294292
295293
"""
296294

297-
if not is_jupyter():
298-
raise EnvironmentError(
299-
"ImageWidget is currently not supported outside of jupyter"
300-
)
301-
302295
self._names = None
303296
self.toolbar = None
304297
self.sidecar = None

0 commit comments

Comments
 (0)