def METHOD_NAME(self, fig):
    fig.add_subplot(2, 1, 1, projection='rectilinear')
    fig.add_subplot(2, 1, 2, projection='polar')
    assert fig.get_axes() == fig.axes
    assert fig.get_axes(projection='polar') == fig.axes[1:]