Save multiple plots in one figure using Matplotlib

Опубликовано: 29 Март 2026
на канале: MEDIOCRE_GUY
97
0

Matplotlib is a library that is commonly used for visualizing different types of plots. In this video, I used MNIST dataset which consists of handwritten digit images from 0 to 9. Each of these digit images has a spatial dimension of 28 x 28 pixels. I displayed six samples for each type of digit and later saved ten plots in one figure using Matplotlib library considering both the train and test datasets. I organized the digits from the train samples horizontally and the test samples vertically.

GitHub address: https://github.com/randomaccess2023/M...

#data_science #jupyter_notebook #matplotlib #MNIST #python