Thanks Jonathan, I will check that out. I have also opened an issue with nbdime: https://github.com/jupyter/nbdime/issues/753
On Wednesday 17 April 2024 at 10:31:32 UTC+9 Jonathan Whitmore wrote: > 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 address) of the object, such as > <matplotlib.axes._subplots.AxesSubplot > at 0x7fbc113dbe90>. This changes every time you execute a notebook, and > therefore will create a conflict every time two people execute this cell > > and how to solve it. > > Best, > Jonathan > > On Tuesday, April 16, 2024 at 9:35:13 AM UTC-7 Vishnu V. Krishnan wrote: > > The hashes associated with images seems to be new each time I run the > cell, irrespective of whether there have been any changes in the data from > which the images are generated. This results in a polluted diff that's > harder to parse for actual changes. > > Is there any way to fix this? > > Thanks! > Vishnu > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/ecbb6f99-c655-48b7-b153-5d96495a7d6an%40googlegroups.com.
