Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25385be

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

File tree

1 file changed

+0
-7
lines changed
Filter options

1 file changed

+0
-7
lines changed

‎fastplotlib/widgets/image.py

Copy file name to clipboardExpand all lines: fastplotlib/widgets/image.py
-7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.