-fig.tight_layout(rect=[0, 0, 1, 0.95])
-
-# Add the original image at the bottom
-#axins = ax.inset_axes([0, -0.3, 1, 0.3])
-#axins.imshow(image, cmap='gray')
-
-# Remove x and y tick labels from the inset_axes
-#axins.set_xticks([])
-#axins.set_yticks([])
-
-#fig.subplots_adjust(bottom=0, top=1, hspace=0)
-
-#bottom_image_ax = fig.add_axes([0.05, 0.0, 1, 0.01])
-#bottom_image_ax.imshow(image, cmap='gray')
-#bottom_image_ax.axis('off')
-
-plt.savefig('output_plot.png', dpi=300, bbox_inches='tight')
+fig.tight_layout(pad=0)
+fig.tight_layout(rect=[0, 0, 1, 0.90])