Clean up run_time graph style

This commit cleans up the style used for the run_time graph. It switches
the individual run_time graph (not the avg or std dev) from a line graph
to scatter points. Since there are potentially a lot of data points this
makes things cleaner and easier to see. Then the size of those points
and the line width are shrunk. When there are a lot of data points
things overlap, get cluttered, and hard to see. By shrinking the lines
and scatter points it alleviates this to a certain degree.

Change-Id: I1271acf10a12df8e36a85e4deacbfc77f7f05bc0
This commit is contained in:
Matthew Treinish 2018-08-23 16:48:12 -04:00
parent 190c3e6c87
commit 651544448d
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -70,8 +70,8 @@ def generate_series():
ax.xaxis_date()
ax.xaxis.set_major_formatter(xfmt)
plt.plot(ts.index, ts, 'k', label='Run Time')
plt.plot(mean.index, mean, 'b', label='Avg. Run Time')
plt.plot(ts.index, ts, 'ko', label='Run Time', markersize=0.45)
plt.plot(mean.index, mean, 'b', label='Avg. Run Time', linewidth=0.45)
upper_std_dev = mean + 2 * rolling_std
lower_std_dev = mean - 2 * rolling_std
# Set negative numbers to 0