[object Object]

← back to Exo

spacing in viz

0c5a927f9a32c614963712085cfbca92080a293b · 2024-07-19 16:43:38 -0700 · Alex Cheema

Files touched

Diff

commit 0c5a927f9a32c614963712085cfbca92080a293b
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Fri Jul 19 16:43:38 2024 -0700

    spacing in viz
---
 exo/viz/topology_viz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/viz/topology_viz.py b/exo/viz/topology_viz.py
index f580e5c0..a97b8298 100644
--- a/exo/viz/topology_viz.py
+++ b/exo/viz/topology_viz.py
@@ -79,7 +79,7 @@ class TopologyViz:
         # Add GPU poor/rich bar
         bar_width = 30  # Increased bar width
         bar_start_x = (100 - bar_width) // 2  # Center the bar
-        bar_y = info_start_y + len(info_lines) + 4  # Position the bar below the info section with two cells of space
+        bar_y = info_start_y + len(info_lines) + 1  # Position the bar below the info section with two cells of space
         
         # Create a gradient bar using emojis
         gradient_bar = Text()

← 9fa0cb1a add gpu poor/rich bar in panel. fixes #33  ·  back to Exo  ·  rm print e18549e9 →