Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
tools: fix treemap bounding box
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Oct 1, 2023
1 parent 8f8d182 commit 4df50d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/render_progress
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,14 @@ class FunctionTreeGrid(Container):
box = Box(
x1=ZERO,
y1=ZERO,
x2=GRID_WIDTH,
x2=GRID_WIDTH + GRID_SQUARE_MARGIN,
y2=(
(
(len(all_functions) + GRID_MAX_SQUARES - 1)
// GRID_MAX_SQUARES
)
* (GRID_SQUARE_SIZE + GRID_SQUARE_MARGIN)
),
) + GRID_SQUARE_MARGIN,
)

for result in squarify(
Expand Down

0 comments on commit 4df50d2

Please sign in to comment.