Skip to content

Commit 20faa7c

Browse files
committed
fix(docs): fix title text overlap in benchmark graph SVG
1 parent cac1986 commit 20faa7c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎scripts/generate-graph.py‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,11 @@ def main():
8686
# Styling labels and title
8787
ax.set_xlabel('Throughput (Million Operations / Sec — Higher is Better)',
8888
fontsize=12, fontweight='bold', color='#e2e8f0', labelpad=12)
89-
ax.set_title('Event Loop & Micro-Task Throughput Benchmark',
90-
fontsize=16, fontweight='bold', color='#ffffff', pad=25)
9189

92-
# Subtitle annotation
93-
fig.text(0.5, 0.91, 'Evaluated using JMH • SPSC Event Passing • JDK 25 Linux',
94-
ha='center', fontsize=11, color='#94a3b8', style='italic')
90+
fig.suptitle('Event Loop & Micro-Task Throughput Benchmark',
91+
fontsize=16, fontweight='bold', color='#ffffff', y=0.96)
92+
ax.set_title('Evaluated using JMH • SPSC Event Passing • JDK 25 Linux',
93+
fontsize=10, color='#94a3b8', style='italic', pad=12)
9594

9695
# Gridlines and spines
9796
ax.grid(axis='x', linestyle=':', color='#334155', alpha=0.7)

0 commit comments

Comments
 (0)