[jupyter] Re: [nbdime] - Image hashes change on every run

2024-04-16 Thread Jonathan Whitmore
Yes. Check out the nbdev tool: https://www.fast.ai/posts/2022-08-25-jupyter-git.html They mention this problem explicitly: > For every figure, such as a plot, Jupyter includes not only the image itself in the notebook, but also a plain text description that includes the id (like a memory add

[jupyter] Re: newbie how to reflow comments?

2017-04-18 Thread Jonathan Whitmore
So, I don't know a command that'll automatically take a long string and make it a fixed-width, but a Jupyter Notebook shortcut to quickly comment a block of code is to type: ⌘/ command + slash will toggle comment/uncomment a block of code. This works in both python and R flavors of the notebo