parameters: (self)
docstring: Return the limits on the image axes transformed into the nonorthogonal frame if appropriate
docstring_summary: Return the limits on the image axes transformed into the nonorthogonal frame if appropriate
docstring_tokens: Return the limits on the image axes transformed into the nonorthogonal frame if appropriate
function: def get_axes_limits(self):
          """
          Return the limits on the image axes transformed into the nonorthogonal frame if appropriate
          """
          if self.image is None:
              return None
          else:
              xlim, ylim = self.ax.get_xlim(), self.ax.get_ylim()
              if self.nonorthogonal_mode:
                  inv_tr = self.nonortho_transform.inv_tr
                  # viewing axis y not aligned with plot axis
                  xmin_p, ymax_p = inv_tr(xlim[0], ylim[1])
                  xmax_p, ymin_p = inv_tr(xlim[1], ylim[0])
                  xlim, ylim = (xmin_p, xmax_p), (ymin_p, ymax_p)
              return xlim, ylim
function_tokens: def get_axes_limits ( self ) : if self . image is None : return None else : xlim , ylim = self . ax . get_xlim ( ) , self . ax . get_ylim ( ) if self . nonorthogonal_mode : inv_tr = self . nonortho_transform . inv_tr # viewing axis y not aligned with plot axis xmin_p , ymax_p = inv_tr ( xlim [ 0 ] , ylim [ 1 ] ) xmax_p , ymin_p = inv_tr ( xlim [ 1 ] , ylim [ 0 ] ) xlim , ylim = ( xmin_p , xmax_p ) , ( ymin_p , ymax_p ) return xlim , ylim