[IPython-User] Tips to speed up notebook?
Mon Oct 15 19:46:10 CDT 2012
no effect. The cells remain visible.
var cells = IPython.notebook.get_Cells()
didn't work, nor did:
There's no accounting for ignorance, though, I'm not much good with
On Mon, Oct 15, 2012 at 3:36 PM, G B <email@example.com> wrote:
> Thanks for the response. I'm glad to hear there is some thought being put
> into long term solutions.
> I can certainly break this into multiple notebooks conceptually, and
> structurally would prefer to, but I need the results from earlier notebooks
> to be available in later ones-- it's essentially a long derivation.
> become an on-click handler to collapse between headers tags of the same
> On Sun, Oct 14, 2012 at 11:12 PM, Matthias BUSSONNIER <
> firstname.lastname@example.org> wrote:
>> Le 15 oct. 2012 à 06:37, David Warde-Farley a écrit :
>> > On Sun, Oct 14, 2012 at 7:17 PM, G B <email@example.com> wrote:
>> >> I'm getting further along with my first major iPython notebook
>> project. I've been using it for designing and documenting an engineering
>> project— the combination of Python, sympy, inline matplotlib, and text
>> editing make it a fantastic tool for documenting while designing.
>> >> Here's the problem I'm having: it's grinding to a halt. The python
>> calculation is still sufficiently fast, but the notebook editing has become
>> painfully slow— to the point that I type a line in a cell and then work on
>> something else while the characters type in one at a time. Just typing
>> pegs my CPU. I'm guessing it's because the notebook is now over 20 printed
>> >> I'm using Safari, and a 0.14 dev version of the source from a couple
>> months back.
>> > A quick first pass which may help a bit is to try Chrome. Recent
>> > versions of Safari are not what I'd call lightweight (possibly an
>> > Apple strategy to sell more computers), and I find Chrome much
>> > snappier across the board.
>> > David
>> We are aware of this issue.
>> And we want in the long run to have automatic loading/unloading of cells
>> that are far up/down when scrolling.
>> It should help.
>> We are also working on worksheet.
>> Can you split your work in separate notebooks ?
>> Is so it shouldn't be difficult to have an external program that append
>> all of them together.
>> I can't give you the exact incantation right now, but in JS console you
>> can try :
>> var cells = IPython.notebook.get_Cells()
>> $(cells.slice(1,18)).hide() // might need a for loop.
>> this should hide the first 18th cells.
>> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User