Skip to content

Commit

Permalink
Add 'other' kind of plot item
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Jul 13, 2023
1 parent c10d519 commit 784b32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/gui/plot/PlotWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ def _itemKind(cls, item):
for kind, itemClasses in cls._KIND_TO_CLASSES.items():
if isinstance(item, itemClasses):
return kind
raise ValueError('Unsupported item type %s' % type(item))
return 'other'

def _notifyContentChanged(self, item):
self.notify('contentChanged', action='add',
Expand Down

0 comments on commit 784b32a

Please sign in to comment.