diff --git a/docarray/array/mixins/plot.py b/docarray/array/mixins/plot.py index b9fe8909d15..86c62d50498 100644 --- a/docarray/array/mixins/plot.py +++ b/docarray/array/mixins/plot.py @@ -79,7 +79,7 @@ def summary(self): is_multimodal = all(d.is_multimodal for d in self) table.add_row('Multimodal dataclass', str(is_multimodal)) - if getattr(self, '_subindices'): + if getattr(self, '_subindices', None): table.add_row( 'Subindices', rich.markup.escape(str(tuple(self._subindices.keys()))) )