We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00683be commit b490500Copy full SHA for b490500
spectral/graphics/spypylab.py
@@ -793,7 +793,7 @@ def updater(*args, **kwargs):
793
self.selector = None
794
msg = 'Failed to create RectangleSelector object. Interactive ' \
795
'pixel class labeling will be unavailable.'
796
- warn(msg)
+ warnings.warn(msg)
797
798
def label_region(self, rectangle, class_id):
799
'''Assigns all pixels in the rectangle to the specified class.
0 commit comments