Thanks for the response. I'm glad to hear there is some thought being put into long term solutions.<div><br></div><div>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. </div>
<div><br></div><div>I'll give the Javascript a try. That sounds like something that could become an on-click handler to collapse between headers tags of the same level.<br><br><div class="gmail_quote">On Sun, Oct 14, 2012 at 11:12 PM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le 15 oct. 2012 à 06:37, David Warde-Farley a écrit :<br>
<div class="im"><br>
> On Sun, Oct 14, 2012 at 7:17 PM, G B <<a href="mailto:g.c.b.at.work@gmail.com">g.c.b.at.work@gmail.com</a>> wrote:<br>
>> 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.<br>
>><br>
>> 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 pages and the HTML/Javascript layout engine just has too much to do.<br>
>><br>
>> I'm using Safari, and a 0.14 dev version of the source from a couple months back.<br>
><br>
> A quick first pass which may help a bit is to try Chrome. Recent<br>
> versions of Safari are not what I'd call lightweight (possibly an<br>
> Apple strategy to sell more computers), and I find Chrome much<br>
> snappier across the board.<br>
><br>
> David<br>
</div>Hi,<br>
<br>
We are aware of this issue.<br>
And we want in the long run to have automatic loading/unloading of cells that are far up/down when scrolling.<br>
It should help.<br>
<br>
We are also working on worksheet.<br>
<br>
Can you split your work in separate notebooks ?<br>
Is so it shouldn't be difficult to have an external program that append all of them together.<br>
<br>
I can't give you the exact incantation right now, but in JS console you can try :<br>
<br>
var cells = IPython.notebook.get_Cells()<br>
$(cells.slice(1,18)).hide() // might need a for loop.<br>
<br>
this should hide the first 18th cells.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Matthias<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br></div>