Show More
@@ -14,10 +14,7 b' def pylab_kernel(gui):' | |||||
14 | """Launch and return an IPython kernel with pylab support for the desired gui |
|
14 | """Launch and return an IPython kernel with pylab support for the desired gui | |
15 | """ |
|
15 | """ | |
16 | kernel = IPKernelApp() |
|
16 | kernel = IPKernelApp() | |
17 | # FIXME: we're hardcoding the heartbeat port b/c of a bug in IPython 0.11 |
|
17 | kernel.initialize(['python', '--pylab=%s' % gui, | |
18 | # that will set it to 0 if not specified. Once this is fixed, the --hb |
|
|||
19 | # parameter can be omitted and all ports will be automatic |
|
|||
20 | kernel.initialize(['python', '--pylab=%s' % gui, '--hb=19999', |
|
|||
21 | #'--log-level=10' |
|
18 | #'--log-level=10' | |
22 | ]) |
|
19 | ]) | |
23 | return kernel |
|
20 | return kernel |
General Comments 0
You need to be logged in to leave comments.
Login now