example how to use QIPythonWidget