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 a1e5451 commit 86ff3d6Copy full SHA for 86ff3d6
Orange/widgets/data/owpaintdata.py
@@ -797,7 +797,7 @@ def __init__(self):
797
self.class_model.rowsInserted.connect(self._class_count_changed)
798
self.class_model.rowsRemoved.connect(self._class_count_changed)
799
800
- if self.data is None or not len(self.data):
+ if not self.data:
801
self.data = []
802
self.__buffer = np.zeros((0, 3))
803
elif isinstance(self.data, np.ndarray):
0 commit comments