def copy_figure(self):
        """Copy figure from figviewer to clipboard."""
        if self.figviewer and self.figviewer.figcanvas.fig:
            self.figviewer.figcanvas.copy_figure()
def copy_figure ( self ) : if self . figviewer and self . figviewer . figcanvas . fig : self . figviewer . figcanvas . copy_figure ( )
Copy figure from figviewer to clipboard.