Skip to content

Commit

Permalink
patch widgets (SpikeInterface#3238)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <alejoe9187@gmail.com>
  • Loading branch information
h-mayorquin and alejoe91 authored Jul 31, 2024
1 parent 86a152c commit 6f63f76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/widgets/utils_ipywidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ def check_ipywidget_backend():
import matplotlib

mpl_backend = matplotlib.get_backend()
assert "ipympl" in mpl_backend, "To use the 'ipywidgets' backend, you have to set %matplotlib widget"
assert (
"ipympl" in mpl_backend or "widget" in mpl_backend
), "To use the 'ipywidgets' backend, you have to set %matplotlib widget"


class TimeSlider(W.HBox):
Expand Down

0 comments on commit 6f63f76

Please sign in to comment.