environment/lib/python2.7/site-packages/IPython/frontend/qt/svg.py
def svg_to_clipboard(string):
    """ Copy a SVG document to the clipboard.

    Parameters:
    -----------
    string : basestring
        A Python string containing a SVG document.
    """
    if isinstance(string, unicode):
        string = string.encode('utf-8')

    mime_data = QtCore.QMimeData()
    mime_data.setData('image/svg+xml', string)
    QtGui.QApplication.clipboard().setMimeData(mime_data)
def svg_to_clipboard(string):
    if isinstance(string, unicode):
        string = string.encode('utf-8')

    mime_data = QtCore.QMimeData()
    mime_data.setData('image/svg+xml', string)
    QtGui.QApplication.clipboard().setMimeData(mime_data)
def svg_to_clipboard ( string ) : if isinstance ( string , unicode ) : string = string . encode ( 'utf-8' ) mime_data = QtCore . QMimeData ( ) mime_data . setData ( 'image/svg+xml' , string ) QtGui . QApplication . clipboard ( ) . setMimeData ( mime_data )
Copy a SVG document to the clipboard.

    Parameters:
    -----------
    string : basestring
        A Python string containing a SVG document.
Copy a SVG document to the clipboard .