Skip to content
Advertisement

Matplotlib plot with ConnectionPaths objects layout issues

I have a script that plots point correspondences between images:

JavaScript

This results with an overlap of the axes ticks of one image with the other.

enter image description here

When I try to add fig.tight_layout() at the end of the script the image’s size is drastically diminished:

enter image description here

Is it possible to keep the images large and avoid the ticks overlapping?

Thanks!

Advertisement

Answer

As mentioned by @JohanC, removing fig.tight_layout() and replacing it with fig.subplots_adjust(wspace=0.3) did the trick.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement