title: Change y-axis scaling midway through the data range via Python/Matplotlib
body: <p>Plots showing vertical slices of some field variable in meteorology will often &quot;split&quot; the scaling of the y-axis into two separate regimes, so that both the troposphere and stratosphere can be easily visualized. See the example below. Note that the scaling changes above 100 hPa. I have no idea how to achieve this with <code>matplotlib</code>. Any suggestions?</p>
  <p><a href="https://i.stack.imgur.com/swKTg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/swKTg.png" alt="enter image description here" /></a></p>