improve plotting code
This commit is contained in:
parent
f2e462842e
commit
d56095950d
|
@ -16,8 +16,8 @@ print('This is the data I loaded: threads =', threads, ', timings =',timings)
|
||||||
|
|
||||||
fig, axs = plt.subplots()
|
fig, axs = plt.subplots()
|
||||||
|
|
||||||
# CREATE YOUR PLOT HERE
|
plt.plot(threads, timings, '+')
|
||||||
# Remember to label your axis
|
plt.xlabel('threads')
|
||||||
# Feel free to make it pretty
|
plt.ylabel('timings')
|
||||||
|
|
||||||
plt.savefig('threads_v_timings.png', dpi=300)
|
plt.savefig('threads_v_timings.png', dpi=300)
|
||||||
|
|
Loading…
Reference in a new issue