Skip to content

Commit

Permalink
Squash this into some other commit
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Apr 16, 2021
1 parent 39392b6 commit c6d92ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/data/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ def _compute_distributions(self, columns=None):
variable = self.domain[col]

# Select the correct data column from X, Y or metas
if 0 <= col < x.shape[1]:
if 0 <= col < X.shape[1]:
x = X[:, col]
elif col < 0:
x = self.metas[:, col * (-1) - 1]
Expand Down

0 comments on commit c6d92ea

Please sign in to comment.