def _set_lim_and_transforms(self):
        """Setup the key transforms for the axes."""
        # Most of the transforms are set up correctly by LambertAxes
        LambertAxes._set_lim_and_transforms(self)

        # Transform for latitude ticks. These are typically unused, but just
        # in case we need them...
        yaxis_stretch = Affine2D().scale(4 * self.horizon, 1.0)
        yaxis_stretch = yaxis_stretch.translate(-self.horizon, 0.0)

        # These are identical to LambertAxes._set_lim_and_transforms, but we
        # need to update things to reflect the new "yaxis_stretch"
        yaxis_space = Affine2D().scale(1.0, 1.1)
        self._yaxis_transform = \
            yaxis_stretch + \
            self.transData
        yaxis_text_base = \
            yaxis_stretch + \
            self.transProjection + \
            (yaxis_space + \
             self.transAffine + \
             self.transAxes)
        self._yaxis_text1_transform = \
            yaxis_text_base + \
            Affine2D().translate(-8.0, 0.0)
        self._yaxis_text2_transform = \
            yaxis_text_base + \
            Affine2D().translate(8.0, 0.0)
def _set_lim_and_transforms ( self ) : LambertAxes . _set_lim_and_transforms ( self ) yaxis_stretch = Affine2D ( ) . scale ( 4 * self . horizon , 1.0 ) yaxis_stretch = yaxis_stretch . translate ( - self . horizon , 0.0 ) yaxis_space = Affine2D ( ) . scale ( 1.0 , 1.1 ) self . _yaxis_transform = yaxis_stretch + self . transData yaxis_text_base = yaxis_stretch + self . transProjection + ( yaxis_space + self . transAffine + self . transAxes ) self . _yaxis_text1_transform = yaxis_text_base + Affine2D ( ) . translate ( - 8.0 , 0.0 ) self . _yaxis_text2_transform = yaxis_text_base + Affine2D ( ) . translate ( 8.0 , 0.0 )
Setup the key transforms for the axes.