81d96f30b9d3368f43d9f94074256e53cee2baa2,doc/examples/transform/plot_ssim.py,,,#,40

Before Change


ax1.imshow(img_noise, cmap=plt.cm.gray, vmin=0, vmax=1)
ax1.set_xlabel(label % (mse_noise, ssim_noise))
ax1.set_title("Image with noise")
ax1.axes.get_yaxis().set_visible(False)

ax2.imshow(img_const, cmap=plt.cm.gray, vmin=0, vmax=1)
ax2.set_xlabel(label % (mse_const, ssim_const))
ax2.set_title("Image plus constant")

After Change



ax[2].imshow(img_const, cmap=plt.cm.gray, vmin=0, vmax=1)
ax[2].set_xlabel(label.format(mse_const, ssim_const))
ax[2].set_title("Image plus constant")

plt.tight_layout()
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: scikit-image/scikit-image
Commit Name: 81d96f30b9d3368f43d9f94074256e53cee2baa2
Time: 2016-09-04
Author: multicolor.mood@gmail.com
File Name: doc/examples/transform/plot_ssim.py
Class Name:
Method Name:


Project Name: arviz-devs/arviz
Commit Name: 2b46c162e0e0b35ad53536bfe8cac95f3d6d464c
Time: 2018-04-26
Author: aloctavodia@gmail.com
File Name: arviz/plots/energyplot.py
Class Name:
Method Name: energyplot


Project Name: drckf/paysage
Commit Name: 90868aa55413d36df113c7753962246538d80d05
Time: 2017-04-06
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name: State
Method Name: from_visible