def beautify(): """Customize figure presentation.""" #plt.xscale('log') # Does not work with matplotlib 0.91.2 a = plt.gca() a.set_xscale('log') #Tick label handling plt.xlabel('log10 of (ERT / ERTref)') plt.ylabel('Proportion of functions') logxticks() beautifyECDF()
def beautify(): """Customize figure presentation.""" #plt.xscale('log') # Does not work with matplotlib 0.91.2 a = plt.gca() a.set_xscale('log') #Tick label handling plt.xlim(xmin=1e-0) plt.xlabel('log10 of (# f-evals / dimension)') plt.ylabel('Proportion of function+target pairs') ppfig.logxticks() pprldistr.beautifyECDF()
def beautify(): """Customize figure presentation.""" # plt.xscale('log') # Does not work with matplotlib 0.91.2 a = plt.gca() a.set_xscale("log") # Tick label handling plt.xlim(xmin=1e-0) global divide_by_dimension if divide_by_dimension: plt.xlabel("log10 of (# f-evals / dimension)", fontsize=label_fontsize) else: plt.xlabel("log10 of # f-evals", fontsize=label_fontsize) plt.ylabel("Proportion of function+target pairs", fontsize=label_fontsize) ppfig.logxticks() pprldistr.beautifyECDF()