0d6fd37f57b187395ee3addc8d5a758337830f60,dipy/viz/regtools.py,,overlay_slices,#Any#Any#Any#Any#Any#Any#Any#,313
Before Change
colorImage[..., 1] = rr * (rr > rr[0, 0])
// Create the figure
plt.figure()
plt.subplot(1, 3, 1).set_axis_off()
plt.imshow(ll, cmap=plt.cm.gray, origin="lower")
plt.title(ltitle)
plt.subplot(1, 3, 2).set_axis_off()
After Change
colorImage[..., 0] = ll * (ll > ll[0, 0])
colorImage[..., 1] = rr * (rr > rr[0, 0])
fig = _three_plot([ll, colorImage, rr],
[ltitle, "Overlay", rtitle],
cmap=plt.cm.gray, origin="lower")
// Save the figure to disk, if requested
if fname is not None:
fig.savefig(fname, bbox_inches="tight")
return fig
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: 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: nipy/dipy
Commit Name: 0d6fd37f57b187395ee3addc8d5a758337830f60
Time: 2015-02-04
Author: arokem@gmail.com
File Name: dipy/viz/regtools.py
Class Name:
Method Name: overlay_images