Skip to content

Commit

Permalink
Ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Jul 11, 2024
1 parent 51f2329 commit 02ae71c
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 len(self._edge_markers["names"]) > 0:
self._edge_markers["names"] = np.delete(self._edge_markers["names"], ind)

if render_figure:
Expand Down

0 comments on commit 02ae71c

Please sign in to comment.