Skip to content

remove jupyter check for ImageWidget #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions fastplotlib/widgets/image.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import weakref
from typing import *
from warnings import warn
from functools import partial

import numpy as np

from wgpu.gui.auto import is_jupyter
from ipywidgets.widgets import (
IntSlider,
VBox,
Expand Down Expand Up @@ -294,11 +292,6 @@ def __init__(

"""

if not is_jupyter():
raise EnvironmentError(
"ImageWidget is currently not supported outside of jupyter"
)

self._names = None
self.toolbar = None
self.sidecar = None
Expand Down