[IPython-User] make the QtConsole a bit longer? changing inline from inside IPython?
Thu Jan 19 08:58:27 CST 2012
Regarding your second answer, if I start the QtConsole with --pylab=inline
(which is what the convenient icon does that comes with the Enthought
distribution), and in the config file I want figures not to be inline
(which is what I really want), which one takes precedent? Can I force
IPython to do whatever is in the config file?
On Wed, Jan 18, 2012 at 11:40 PM, Fernando Perez <firstname.lastname@example.org>wrote:
> On Wed, Jan 18, 2012 at 3:32 AM, Mark Bakker <email@example.com> wrote:
> > 1. Can a blank line be inserted at the bottom of the console as was
> > in the old IPython console? The way it is right now is that the cursor
> > at the bottom of the console most of my session which is ugly and
> > to work with. I know, this is only a minor feature request, but boy
> would it
> > look a lot better.
> The qt console is in that regard not really different from the
> terminal one: the impression you have of inserting a newline is simply
> due to a size coincidence with your fonts and terminal emulator, that
> probably leaves a gap at the bottom for any shell you use. We don't
> explicitly insert any space at the bottom in the console. In fact,
> depending on what terminal emulator I use, I can get the bottom
> behavior to be identical to that of the qt console or to have a bit of
> space. Using gnome-terminal I get zero bottom padding and once I
> reach the bottom, my cursor is flush with the edge of the window,
> while using terminator there's always ~ 1/2 line of padding at the
> bottom, no matter how I resize it.
> I don't know how easy it is to tweak the Qt code to add a bit of
> padding always (say 1/2 line), feel free to open an issue for it.
> > 2. Are there plans to turn the 'inline' figures on/off from inside the
> > QtConsole rather than as a launch option? Or better yet, an IPython
> > parameter that can be set in the config file? Right now I need separate
> > startup scripts for inline or not-inline.
> You can configure this permanently in your config file, just like any
> other option. Simply set the pylab option of the Qt console
> application to be 'inline'.
> I do want to make this something that can be toggled at runtime,
> because I've very often needed it, and I even had it working a while
> back but this patch bitrotted, unfortunately. If nobody beats me to
> it with a PR, eventually I'll do it again.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User