Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Notebook, Print view should not be editable... #1292

Carreau opened this Issue · 7 comments

5 participants

Matthias Bussonnier Brian E. Granger Damián Avila K.-Michael Aye Min RK
Matthias Bussonnier

I just caugh myself editing a print view of the notebook...
so it seem that with this new print version cell can still be edited/deleted moved around/ executed.
So not really a print view

Maybe the read-only code can be reused to prevent editing ...

Brian E. Granger
Brian E. Granger

The proper way of handling this is to generate static html that is loaded for the print view. The print view should not use all of our Javascript classes to build the notebook page.

Damián Avila

I agree that a print view has to be read-only but if you want to use it in a "interactive presentation mode", an editable view is the way to do it... you can edit what you want whereas you give the talk but the notebook remains untouched.
Coming back to the print view... maybe we can "capture" the notebook with the Qt Webkit rendering engine and make a png, pdf, svg images. What do you think?

K.-Michael Aye

I was caught today during a presentation of the notebook features that the print view does not include the plots that had been created in a notebook in normal view.
Now I understand that I had to re-execute my cells to re-create the plots. As you said that print view currently is a fully functional notebook, how would I go about executing all cells? Because when I have hundreds of cells in a notebook and want a nice printout of my data exploration, I wouldn't want to single-execute all of them just to get the plots back, right?

Matthias Bussonnier

Print view should show all the graph done in editting view, but the print view is base on the last saved version...
Could you try saving then File/Print to see if the graph stays ?

K.-Michael Aye

Thanks, that's it!

Min RK

Print view is removed, and will come back as a static nbconvert output without any of these issues.

Min RK minrk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.