From cae154c67a1b638429527dbbd96ee70f51d49eb1 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter.cai@uwaterloo.ca>
Date: Tue, 28 Feb 2023 14:00:26 -0500
Subject: [PATCH] Fix conn_scan title padding

---
 analyze/memcached_conn_scan.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/analyze/memcached_conn_scan.py b/analyze/memcached_conn_scan.py
index 10bc260..196ca5e 100644
--- a/analyze/memcached_conn_scan.py
+++ b/analyze/memcached_conn_scan.py
@@ -52,9 +52,9 @@ def extract_conn_qps(threads, include_caladan = False):
 def show_plot(threads, include_caladan = False):
     plt.cla()
     if include_caladan:
-        plt.title('Memcached connections vs QPS, %d threads, with Caladan' % (threads,))
+        plt.title('Memcached connections vs QPS, %d threads, with Caladan' % (threads,), y = 1.05)
     else:
-        plt.title('Memcached connections vs QPS, %d threads' % (threads,))
+        plt.title('Memcached connections vs QPS, %d threads' % (threads,), y = 1.05)
 
     data = extract_conn_qps(threads, include_caladan)
 
@@ -84,9 +84,9 @@ def show_plot(threads, include_caladan = False):
 
     plt.cla()
     if include_caladan:
-        plt.title('Memcached connections vs LLC misses, %d threads, with Caladan' % (threads,), y = 1.08)
+        plt.title('Memcached connections vs LLC misses, %d threads, with Caladan' % (threads,))
     else:
-        plt.title('Memcached connections vs LLC misses, %d threads' % (threads,), y = 1.08)
+        plt.title('Memcached connections vs LLC misses, %d threads' % (threads,))
 
     for k in data:
         plt.plot(data[k][0], data[k][2], label = k, marker = markers[k], color = colors[k])
-- 
GitLab