0d6fd37f57b187395ee3addc8d5a758337830f60,dipy/viz/regtools.py,,plot_slices,#Any#Any#Any#,264

Before Change



    // Plot the slices
    plt.figure()
    plt.subplot(1, 3, 1).set_axis_off()
    plt.imshow(axial, cmap=plt.cm.gray, origin="lower")
    plt.title("Axial")
    plt.subplot(1, 3, 2).set_axis_off()
    plt.imshow(coronal, cmap=plt.cm.gray, origin="lower")
    plt.title("Coronal")
    plt.subplot(1, 3, 3).set_axis_off()
    plt.imshow(sagital, cmap=plt.cm.gray, origin="lower")
    plt.title("Sagittal")

After Change


    if fname is not None:
        fig.savefig(fname, bbox_inches="tight")

    return fig

def overlay_slices(L, R, slice_index=None, slice_type=1, ltitle="Left",
                   rtitle="Right", fname=None):
    rPlot three overlaid slices from the given volumes.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: 0d6fd37f57b187395ee3addc8d5a758337830f60
Time: 2015-02-04
Author: arokem@gmail.com
File Name: dipy/viz/regtools.py
Class Name:
Method Name: plot_slices


Project Name: nipy/dipy
Commit Name: 0d6fd37f57b187395ee3addc8d5a758337830f60
Time: 2015-02-04
Author: arokem@gmail.com
File Name: dipy/viz/regtools.py
Class Name:
Method Name: overlay_slices


Project Name: nipy/dipy
Commit Name: 0d6fd37f57b187395ee3addc8d5a758337830f60
Time: 2015-02-04
Author: arokem@gmail.com
File Name: dipy/viz/regtools.py
Class Name:
Method Name: plot_slices


Project Name: khaotik/DaNet-Tensorflow
Commit Name: f391751e1c6cf648a9cf6b75149bc7686541404b
Time: 2017-08-10
Author: junkkhaotik@gmail.com
File Name: main.py
Class Name:
Method Name: main