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 jupyter+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/c45af33d-0cb2-4e1a-b8e8-6eac0307898bn%40googlegroups.com.

Reply via email to