[IPython-dev] Move output scrollbar to top?

Ryan Nelson rnelsonchem at gmail.com
Wed Feb 11 09:34:19 EST 2015


Anton,

Sorry a little late here... I don't have an direct solution to your
problem, but I found that Pandas has a number of output settings which
helped me with this same problem. For example, you can set
`pandas.set_option('max_rows', 10)` and it will limit the number of rows
printed. You can set this to whatever is sensible to keep the output in
your screen window. Not perfect, but hope it helps.
http://pandas.pydata.org/pandas-docs/stable/options.html#frequently-used-options

Ryan

On Thu, Feb 5, 2015 at 4:18 AM, Kiko <kikocorreoso at gmail.com> wrote:

>
>
> 2015-02-04 15:28 GMT+01:00 Nicholas Bollweg <nick.bollweg at gmail.com>:
>
>> Looks like a 0-height div and some event ninjitsu would work.
>> http://aburt.com/topscrollbar/
>>
>> On Wed, Feb 4, 2015 at 1:41 AM, Ant Super <the.gerenuk at googlemail.com>
>> wrote:
>>
>>> Hi!
>>> do you guys know a way to move the output scrollbar of (HTML) output in
>>> the IPython notebook to the top of the cell?
>>>
>>> When you output wide pandas dataframes with no limit on columns (because
>>> you want to
>>> see them all), it produces an HTML output cell with scrollbars. The
>>> annoying thing is that the horizontal scrollbar is at the bottom, so that
>>> you have to scroll down on the page, then scroll right and finally scroll
>>> up again to see the header of the dataframe.
>>>
>>> Is there a hack to place the horizontal scrollbar top? Is this a
>>> sensible default option?
>>>
>>>
> You could always use the third button of your mouse as an easy and cheap
> solution.
>
>
>> Anton
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150211/e85bffa4/attachment.html>


More information about the IPython-dev mailing list