Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Commit

Permalink
Save the graphs as images and added C9 Zven's graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahKSmith committed Jul 20, 2020
1 parent 11e95d8 commit 6622f60
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Binary file added C9 Zven: CS per minute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added C9 Zven: CSD at 10min.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added C9 Zven: Damage per gold spent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added C9 Zven: Vision Score.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def make_plot(x, data, ylabel, title):
average= round(calc_average(data),2)
note= 'Average over '+ str(num_matches)+' games: '+str(average)
plt.text(-0.5, 0.98*max(list(filter((None).__ne__, data))), note, fontsize=10, bbox=dict(facecolor='green', alpha=0.75))
# fig.show() #spyder IDE doesn't need this
plt.savefig(title+".png")

#%% INITIALIZATION
start_time = time.time()
Expand Down

0 comments on commit 6622f60

Please sign in to comment.