From 3751cf8ecf117451d9f8442398bd2b09ee6abf84 Mon Sep 17 00:00:00 2001 From: Michael McKinsey Date: Fri, 15 Nov 2024 16:41:10 -0600 Subject: [PATCH] Fix namespace issue --- thicket/external/console.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thicket/external/console.py b/thicket/external/console.py index 5310b89e..ff64ebc8 100644 --- a/thicket/external/console.py +++ b/thicket/external/console.py @@ -281,9 +281,9 @@ def render_frame(self, node, dataframe, indent="", child_indent=""): # Auto choose num bins nintervals = min(math.ceil(math.sqrt(nprofs)), 20) # Add min/max to tree - min = hist_data.min() - max = hist_data.max() - result += f" ({min:.{self.precision}f}, {max:.{self.precision}f}) " + min_num = hist_data.min() + max_num = hist_data.max() + result += f" ({min_num:.{self.precision}f}, {max_num:.{self.precision}f}) " # Define unicode bars bar_list = [ "_",