Skip to content
Snippets Groups Projects
Commit cae154c6 authored by Peter Cai's avatar Peter Cai
Browse files

Fix conn_scan title padding

parent 882ffc97
No related branches found
No related tags found
No related merge requests found
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment