Skip to content

Commit 1cd0c48

Browse files
authored
Adjust plot title and axis labels for clarity
1 parent b6560cc commit 1cd0c48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/plot_benchmark.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ def plot_performance(df_AllocDeallocCycle_MixedSize):
7979
marker='o', linestyle='-', label=name,
8080
linewidth=2.5)
8181

82-
plt.title('Performance Graph', fontsize=14)
83-
plt.ylabel('Average Time per N Allocation-Deallocation of Mixed Sizes (nanoseconds)', fontsize=12)
84-
plt.xlabel('N Allocations per iteration ', fontsize=12)
82+
plt.title('Performance Graph', fontsize=13)
83+
plt.ylabel('Avg Time per N Alloc-Dealloc of Mixed Sizes (nanoseconds)', fontsize=10)
84+
plt.xlabel('N Allocations per iteration ', fontsize=10)
8585
plt.xticks(group['num_ops']) # Ensure clear ticks
8686
plt.legend(title='Allocator')
8787
plt.grid(linestyle='--', alpha=0.7)

0 commit comments

Comments
 (0)