ax3.set_title("Block view with\n local median pooling")
ax3.imshow(median_view, interpolation="nearest", cmap=cm.Greys_r)
ax3.set_axis_off()
fig.tight_layout()
plt.show()
After Change
ax[3].set_title("Block view with\n local median pooling")
ax[3].imshow(median_view, interpolation="nearest", cmap=cm.Greys_r)
for a in ax:
a.set_axis_off()
fig.tight_layout()
plt.show()