doc: revisions to interactive.py