Skip to content

Commit 8b78959

Browse files
committed
Collapse 'other'
1 parent 446f762 commit 8b78959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/profiling/sampling/heatmap_collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def render_hierarchical_html(self, trees: Dict[str, TreeNode]) -> str:
359359
tree = trees[module_type]
360360

361361
# Project starts expanded, others start collapsed
362-
is_collapsed = module_type in ('stdlib', 'site-packages')
362+
is_collapsed = module_type in {'stdlib', 'site-packages', 'other'}
363363
icon = '▶' if is_collapsed else '▼'
364364
content_style = ' style="display: none;"' if is_collapsed else ''
365365

0 commit comments

Comments
 (0)