Aspect Ratio Cutting Off Map in Matplotlib
I have code that plots a map with user specified lat/long bounds. I use a defined map aspect ratio in order to keep the map at a constant size. If I don’t my figtext moved well out of position. However, trying with some test cases where the Y-lim is larger than the X-lim Matplotlib cuts off the ylim not showing the entire map to preserve aspect ratio. How do I force it to show the map but still have my figtext.
Aspect Ratio Cutting Off Map in Matplotlib
I have code that plots a map with user specified lat/long bounds. I use a defined map aspect ratio in order to keep the map at a constant size. If I don’t my figtext moved well out of position. However, trying with some test cases where the Y-lim is larger than the X-lim Matplotlib cuts off the ylim not showing the entire map to preserve aspect ratio. How do I force it to show the map but still have my figtext.
strange matplotlib limits when aspect ratio is fixed
Im facing a strange behaviour from matplotlib when equal aspect ratio is preserved.
For starters, this is the minimum code sample to show this behaviour. First with the correct behaviour and second with the crooked behaviour