Skip to content

Commit

Permalink
Merge pull request #116 from dengzq1234/desktop_v2
Browse files Browse the repository at this point in the history
Desktop v2
  • Loading branch information
dengzq1234 authored Feb 6, 2025
2 parents 3597f73 + fc769fc commit b377abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions treeprofiler/tree_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def run(args):
matrix, value2color, all_profiling_values = multiple2matrix(tree, profiling_prop,
prop2type=prop2type, color_config=color_config, eteformat_flag=eteformat_flag)

matrix_layout = profile_layouts.LayoutPropsMatrixBinary(name=f"Profiling_{all_profiling_values}",
matrix_layout = profile_layouts.LayoutPropsMatrixBinary(name=f"Profiling_{profiling_prop}",
matrix=matrix, matrix_props=all_profiling_values, value_range=[0,1],
value_color=value2color, column=level, poswidth=args.column_width)
level += 1
Expand Down Expand Up @@ -807,7 +807,7 @@ def run(args):
]

for multiple_text_prop in multiple_text_props:
matrix, value2color, all_profiling_values = multiple2matrix(tree, multiple_text_prop)
matrix, value2color, all_profiling_values = multiple2matrix(tree, multiple_text_prop, prop2type=prop2type, eteformat_flag=eteformat_flag)
multiple_text_prop_layout = profile_layouts.LayoutPropsMatrixBinary(name=f"Profiling_{multiple_text_prop}",
matrix=matrix, matrix_props=all_profiling_values, value_range=[0,1],
active=False,
Expand Down

0 comments on commit b377abe

Please sign in to comment.