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

Before Change


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")
ax2.axes.get_yaxis().set_visible(False)

plt.show()

After Change


img_noise = img + noise
img_const = img + abs(noise)

fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(10, 4),
                         sharex=True, sharey=True,
                         subplot_kw={"adjustable": "box-forced"})
ax = axes.ravel()
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: matplotlib/matplotlib
Commit Name: d6fadfc1dc499416b31425c8f2ced5923bacb51f
Time: 2020-04-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: TextBox
Method Name: _rendercursor


Project Name: matplotlib/matplotlib
Commit Name: d6fadfc1dc499416b31425c8f2ced5923bacb51f
Time: 2020-04-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: TextBox
Method Name: __init__