This commit is contained in:
bolade
2025-11-21 12:41:18 +01:00
parent 9c1cb1966b
commit 79daa8cea1
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -1418,11 +1418,11 @@ class GraphGenerator:
import textwrap import textwrap
# Optimal sizing for HR Zones table (5 columns, 8 rows) # Optimal sizing for HR Zones table (5 columns, 8 rows)
fig, ax = plt.subplots(figsize=(18, 12)) fig, ax = plt.subplots(figsize=(14, 8))
ax.axis("off") ax.axis("off")
# Column widths - slightly wider for first column which has longer text # Column widths - slightly wider for first column which has longer text
col_widths = [0.24, 0.19, 0.19, 0.19, 0.19] # col_widths = [0.24, 0.19, 0.19, 0.19, 0.19]
# Wrap text in cells for better readability # Wrap text in cells for better readability
wrapped_data = [] wrapped_data = []
@@ -1443,7 +1443,7 @@ class GraphGenerator:
cellLoc="center", cellLoc="center",
loc="center", loc="center",
colColours=["#4dd0e1"] * len(columns), colColours=["#4dd0e1"] * len(columns),
colWidths=col_widths, # colWidths=col_widths,
) )
# Style the table # Style the table