Skip to content

Commit

Permalink
Allow tuple as metric_column (#139)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Richard Mckinsey <[email protected]>
  • Loading branch information
michaelmckinsey1 and Michael Richard Mckinsey authored Jul 12, 2024
1 parent a1f0a06 commit 30f0758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hatchet/external/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def render(self, roots, dataframe, **kwargs):
else:
self.colors = self.colors_disabled

if isinstance(self.metric_columns, str):
if isinstance(self.metric_columns, (str, tuple)):
self.primary_metric = self.metric_columns
self.second_metric = None
elif isinstance(self.metric_columns, list):
Expand Down

0 comments on commit 30f0758

Please sign in to comment.