Add option 'window' and 'return_window' to interactive_window()

This makes it easier to do interactive animations, e.g. when using IPython.
4 jobs for master in 13 minutes and 44 seconds (queued for 11 seconds)
Status Job ID Name Coverage
  Test
failed #4221
amd64
job_clang_amd64

00:13:35

failed #4223
amd64
job_clang_amd64_nosh

00:13:34

failed #4220
amd64
job_gcc_amd64

00:05:48

failed #4222
amd64
job_gcc_amd64_nosh

00:05:56

 
Name Stage Failure
failed
job_clang_amd64 Test
make[4]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/2/count0/graph-tool/src/graph/centrality'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/2/count0/graph-tool/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/2/count0/graph-tool/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/2/count0/graph-tool'
make: *** [Makefile:486: all] Error 2
ERROR: Job failed: exit status 1
failed
job_clang_amd64_nosh Test
make[4]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/3/count0/graph-tool/src/graph/centrality'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/3/count0/graph-tool/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/3/count0/graph-tool/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/3/count0/graph-tool'
make: *** [Makefile:486: all] Error 2
ERROR: Job failed: exit status 1
failed
job_gcc_amd64 Test
make[4]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/1/count0/graph-tool/src/graph/centrality'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/1/count0/graph-tool/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/1/count0/graph-tool/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/1/count0/graph-tool'
make: *** [Makefile:486: all] Error 2
ERROR: Job failed: exit status 1
failed
job_gcc_amd64_nosh Test
make[4]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool/src/graph/centrality'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool'
make: *** [Makefile:486: all] Error 2
ERROR: Job failed: exit status 1