#NEWLINE# def load_np( self , imname , data_np , imtype , header ) : #NEWLINE# #INDENT# 'Display a numpy image buffer in a remote Ginga reference viewer.\n\n        Parameters\n        ----------\n        imname : str\n            A name to use for the image in the reference viewer.\n\n        data_np : ndarray\n            This should be at least a 2D Numpy array.\n\n        imtype : str\n            Image type--currently ignored.\n\n        header : dict\n            Fits header as a dictionary, or other keyword metadata.\n\n        Returns\n        -------\n        0\n\n        Notes\n        -----\n        * The "RC" plugin needs to be started in the viewer for this to work.\n        ' #NEWLINE# load_buffer = self . _client . lookup_attr ( 'load_buffer' ) #NEWLINE# return load_buffer ( imname , self . _chname , binascii . b2a_base64 ( data_np . tostring ( ) ) , data_np . shape , str ( data_np . dtype ) , header , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , False )