Skip to content

Commit

Permalink
improved plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisk42 committed Nov 25, 2019
1 parent 51140e3 commit 2d30177
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/analyzeDepth.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ def loadCheckpoint(r):

plot.figure(figsize=(4,2.5))
plot.scatter(X,Y,color=C,alpha=0.5)
plot.ylabel("% Test Solved",
fontsize=FONTSIZE)
plot.xlabel({"MAX": "Max depth",
"MEAN": "Avg. depth",
"SIZE": "Library size"}[mode],
fontsize=FONTSIZE)
plot.xticks(fontsize=TICKFONTSIZE)
plot.yticks(fontsize=TICKFONTSIZE)
plot.gca().spines['right'].set_visible(False)
plot.gca().spines['top'].set_visible(False)
plot.savefig(f"figures/depthVersusAccuracy_revision_{mode}.png")
sys.exit()

Expand Down

0 comments on commit 2d30177

Please sign in to comment.