# Displaying different images with actual size in a Matplotlib subplot

To display different images with actual size in a Matplotlib subplot, we can take the following steps −

• Set the figure size and adjust the padding between and around the subplots.
• Create a figure and a set of subplots.
• Turn off axes for both the subplots.
• Use imshow() method to display im1 and im2 data.
• To display the figure, use show() method.

## Example

import matplotlib.pyplot as plt

plt.rcParams["figure.figsize"] = [7.50, 3.50]
plt.rcParams["figure.autolayout"] = True

plt.show()