Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 2, 2024
1 parent e1b3986 commit 42e3ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exspy/signals/eels.py
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ def _remove_edge_labels(self, edge_names=None, render_figure=True):
self._edge_markers["lines"].remove_items(ind)
if self._edge_markers["texts"] is not None:
self._edge_markers["texts"].remove_items(ind)
if self._edge_markers["names"] is not []:
if self._edge_markers["names"] != []:
self._edge_markers["names"] = np.delete(self._edge_markers["names"], ind)

if render_figure:
Expand Down

0 comments on commit 42e3ca9

Please sign in to comment.