Exemple #1
0
def adjust_axes(axes):
    """
        Settings for all plots.
    """
    # TODO: Uncomment & decide for each subplot!
    for ax in axes.itervalues():
        core.hide_axis(ax)
Exemple #2
0
def plot_spikes_post(ax):
    data = core.get_data('fig5/teacher_spikes_illu.npy')
    ax.plot(data[10, 0:500],
            color=core.label_to_color["aux_lines"],
            linewidth=core.linewidth["spikes"])

    core.hide_axis(ax)

    pass
Exemple #3
0
def plot_spikes_stim2(ax):
    data = core.get_data('fig5/inputspikes_stim_illu.npy')

    ax.plot(data[20, 0:500],
            color=core.label_to_color["aux_lines"],
            linewidth=core.linewidth["spikes"])

    core.hide_axis(ax)

    pass
Exemple #4
0
def adjust_axes(axes):
    """
        Settings for all plots.
    """
    # TODO: Uncomment & decide for each subplot!
    for ax in axes.itervalues():
        core.hide_axis(ax)

    for k in [
            "network_schema"
        ]:
        axes[k].set_frame_on(False)
Exemple #5
0
def adjust_axes(axes):
    """
        Settings for all plots.
    """
    # TODO: Uncomment & decide for each subplot!
    for ax in axes.itervalues():
        core.hide_axis(ax)

    for k in [
            "plasticity_hom", "plasticity_het_u", "plasticity_het_p",
            "proportional_plasticity_ss", "proportional_plasticity_ws"
    ]:
        axes[k].set_frame_on(False)
Exemple #6
0
def adjust_axes(axes):
    """
        Settings for all plots.
    """
    # TODO: Uncomment & decide for each subplot!
    for ax in axes.itervalues():
        core.hide_axis(ax)

    for k in [
            "placeholder", "placeholder1", "placeholder2", "spikes_stim",
            "spikes_stim1", "spikes_stim2", "spikes_post", "stimulation_schema"
    ]:
        axes[k].set_frame_on(False)