Misunderstanding of a variable in pyplot

I think the “_” varible is unused,but i’m not sure.

_, axes = plt.subplots(nrows=1, ncols=5, figsize=(10, 4))
for ax, image, label in zip(axes, digits.images, target):
    ax.imshow(image, cmap=plt.cm.gray_r, interpolation='nearest')
    ax.set_title('%i' % label)

thanks for your help.

Welcome. This is the forum for OpenCV.

You should direct your general questions on Python or matplotlib to an appropriate forum.