%qtconsole
import nglview as nv view = nv.show_pdbid("1l2y") view
# Note: You can control `view` in the qtconsole that # will be poped up to your screen