fix problem with scatter() returning none in output notebook