Skip to content

Commit 329f8c4

Browse files
committed
owvenndiagram: Remove casting to Table
1 parent d9760e1 commit 329f8c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Orange/widgets/visualize/owvenndiagram.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -716,11 +716,7 @@ def table_concat(tables):
716716
domain = Orange.data.Domain(attributes, class_vars, metas)
717717

718718
tables = list(map(lambda tab: tab.transform(domain), tables))
719-
720-
# TODO: remove casting to Table when Corpus.concatenate becomes available
721-
new_table = Orange.data.Table.from_table(domain,
722-
Orange.data.Table.concatenate(tables, axis=0))
723-
return new_table
719+
return tables[0].concatenate(tables, axis=0)
724720

725721

726722
def copy_descriptor(descriptor, newname=None):

0 commit comments

Comments
 (0)