'Statsmodels Q-Q Plot Change Samples Quantile Axis

Is there a way or an argument in the statsmodels.api.qqplot to change the axis on which the sample quantiles and the theoretical quantiles are plotted. I would like to plot the sample quantiles on x-axis and theoretical quantiles on y-axis. It seems trivial but can't find any information on how to do it.

sm.qqplot(data=logr[i])

Default Plot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source