How to increase the ipython qtconsole scrollback buffer limit -
when load ipython 1 of:
ipython qtconsole ipython qtconsole --pylab ipython qtconsole --pylab inline
the output buffer holds lastly 500 lines. see run:
for x in range(0, 501): ...: print x
is there configuration alternative this? i've tried adjusting --cache-size not seem create difference.
quickly:
ipython qtconsole --ipythonwidget.buffer_size=1000
or can set permanently adding:
c.ipythonwidget.buffer_size=1000
in ipython config file.
for discovering sort of thing, helpful trick is:
ipython qtconsole --help-all | grep pattern
for instance, had 'buffer', so:
$> ipython qtconsole --help-all | grep -c 3 buffer ... --ipythonwidget.buffer_size=<integer> default: 500 maximum number of lines of text before truncation. specifying non- positive number disables text truncation (not recommended).
if ipython used different name expect , first search turned nothing, utilize 500
, since knew value wanted change, find relevant config.
buffer limit ipython output qtconsole
No comments:
Post a Comment