import cv2

import matplotlib.pyplot as plt
img = cv2.imread(r'C:\Users\HouLw\Downloads\cat.jpg')
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

kernels = [3,5, 11, 17]
fig, axs = plt.subplots(nrows = 1, ncols = 4, figsize = (30, 50))
for ind, s in enumerate(kernels):
    img_blurred = cv2.blur(img, ksize = (s, s))
    ax = axs[ind]
    ax.imshow(img_blurred)
    ax.axis('off')
plt.show()