Skip to content

Commit

Permalink
need to use .lower() for str comp
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed May 28, 2024
1 parent b14d88c commit 72b7dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne_bids/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _keypress_callback(event):
onset=[], duration=[], description=[], orig_time=raw.info["meas_date"]
)

if matplotlib.get_backend() != "agg":
if matplotlib.get_backend().lower() != "agg":
plt.show(block=True)

_global_vars["raw_fig"] = fig
Expand Down

0 comments on commit 72b7dcd

Please sign in to comment.