I am using the following construction in a linked cell to generate a
histogramm of the data array in a file.
import matplotlib.pyplot as plt
plt.hist(data,bins=classes)
plt.savefig('Histogramm.png')
plt.close()
Problem: When the data array changes and the linked cell is re-evaluated,
the diagram is not re-generated. It is re-generated if I change the file
name in the code. Is there a way to enforce regeneration of the file?
--
You received this message because you are subscribed to the Google Groups
"sage-cell" 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/sage-cell/a66fc1eb-e34d-48f5-9d9e-0e3e07fdab0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.