Skip to content

Commit 564cf6d

Browse files
removed unnecessary dependency (#558)
1 parent beda62a commit 564cf6d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ipympl/backend_nbagg.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
from IPython import get_ipython
3232
from IPython import version_info as ipython_version_info
3333
from IPython.display import HTML, display
34-
from ipython_genutils.py3compat import string_types
3534
from ipywidgets import DOMWidget, widget_serialization
3635
from matplotlib import is_interactive, rcParams
3736
from matplotlib._pylab_helpers import Gcf
@@ -248,7 +247,7 @@ def __init__(self, figure, *args, **kwargs):
248247
def send_state(self, key=None):
249248
if key is None:
250249
keys = self.keys
251-
elif isinstance(key, string_types):
250+
elif isinstance(key, str):
252251
keys = [key]
253252
elif isinstance(key, Iterable):
254253
keys = key

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ classifiers = [
4242
]
4343
dependencies = [
4444
"ipython<9",
45-
"ipython_genutils",
4645
"ipywidgets>=7.6.0,<9",
4746
"matplotlib>=3.4.0,<4",
4847
"numpy",

0 commit comments

Comments
 (0)