Jun-19-2018, 03:08 AM
So I have a plot with logarithmic x axis but linear y axis, and I want the plot to be square-aspect, but when I use plt.axis('equal') it does not work and I get the following error:
Error:UserWarning: aspect is not supported for Axes with xscale=log, yscale=linear
'yscale=%s' % (xscale, yscale))
I searched for it and there are several workarounds (e.g. here) but non of them actually work; like in the aforementioned link neither of ax = gca() or fig = gcf() work. Any ideas how I could make my semi-log plot squared?