I have a single NumPy array with ozone values which I want to be plotted with the mixing ratio on the x-axis and the pressure level on the y-axis.
In R and ggplot this can be done by a simple coord_flip(), but I can't find a way to do this simply in pyplot. I tried with the orientation option, and try to set the x value to the array but both don't work.
The example below, where I want the Vertical level to be the y-axis and O3 ppmv as the x-axis.
Thanks
