reproduce/plot_test_error.py [105:134]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if yrange is not None:
        plt.ylim(yrange)
    else:
        plt.ylim([0, max_seen])

    #box = ax.get_position()
    #ax.set_position([box.x0, box.y0, box.width * 0.6, box.height])

    ax.grid(False)
    ax.xaxis.set_tick_params(direction='in')
    ax.yaxis.set_tick_params(direction='in', right="on")
    labelLines(plt.gca().get_lines(), align=False, fontsize=label_fontsize, xvals=xvals)
    #ax.legend(fontsize=5, handlelength=8, loc='center left', bbox_to_anchor=(1, 0.5))
    figname = "{}/{}.pdf".format(plot_dir, plot_name)

    fig.savefig(figname, bbox_inches='tight', pad_inches=0)
    print("saved", figname)


#######################################################
######################################################


plot_averaged(
    plot_name="test_resnet110_V2",
    plot_entries = [
    {"fname": "runs/cifar10/*resnet110*scsg*.pkl", "label": "SCSG"},
    {"fname": "runs/cifar10/*resnet110*sgd*.pkl", "label": "SGD"},
    {"fname": "runs/cifar10/*resnet110*svrg*.pkl", "label": "SVRG"},
    ],
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



reproduce/plot_test_error_with_bars.py [127:151]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if yrange is not None:
        plt.ylim(yrange)
    else:
        plt.ylim([0, max_seen])

    #box = ax.get_position()
    #ax.set_position([box.x0, box.y0, box.width * 0.6, box.height])

    ax.grid(False)
    ax.xaxis.set_tick_params(direction='in')
    ax.yaxis.set_tick_params(direction='in', right="on")
    labelLines(plt.gca().get_lines(), align=False, fontsize=label_fontsize, xvals=xvals)
    #ax.legend(fontsize=5, handlelength=8, loc='center left', bbox_to_anchor=(1, 0.5))
    figname = "{}/{}.pdf".format(plot_dir, plot_name)

    fig.savefig(figname, bbox_inches='tight', pad_inches=0)
    print("saved", figname)

plot_averaged(
    plot_name="test_resnet110_V2",
    plot_entries = [
    {"fname": "runs/cifar10/*resnet110*scsg*.pkl", "label": "SCSG"},
    {"fname": "runs/cifar10/*resnet110*sgd*.pkl", "label": "SGD"},
    {"fname": "runs/cifar10/*resnet110*svrg*.pkl", "label": "SVRG"},
    ],
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



