Skip to content

Commit

Permalink
removed unnecessary dependency (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
randolf-scholz authored Jul 2, 2024
1 parent beda62a commit 564cf6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions ipympl/backend_nbagg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from IPython import get_ipython
from IPython import version_info as ipython_version_info
from IPython.display import HTML, display
from ipython_genutils.py3compat import string_types
from ipywidgets import DOMWidget, widget_serialization
from matplotlib import is_interactive, rcParams
from matplotlib._pylab_helpers import Gcf
Expand Down Expand Up @@ -248,7 +247,7 @@ def __init__(self, figure, *args, **kwargs):
def send_state(self, key=None):
if key is None:
keys = self.keys
elif isinstance(key, string_types):
elif isinstance(key, str):
keys = [key]
elif isinstance(key, Iterable):
keys = key
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ classifiers = [
]
dependencies = [
"ipython<9",
"ipython_genutils",
"ipywidgets>=7.6.0,<9",
"matplotlib>=3.4.0,<4",
"numpy",
Expand Down

0 comments on commit 564cf6d

Please sign in to comment.