On Friday, 16 June 2017 06:44:02 UTC-6, Ingo Dahn wrote:
>
> 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?
>

Here is the issue with a workaround from 4 years ago: 
https://github.com/sagemath/sagecell/issues/386

I suppose we just should not cache user-generated files at all. The only 
problem I see is with jmol that downloads the scene archive for every 
single file inside (so if there are 100 parts to the scene, there will be 
100 downloads), but that's a bug in jmol, we can add a workaround for it, 
and jmol will not be default soon, hopefully. 

So - does anyone think that it is a bad idea to prohibit caching of 
user-generated files?

-- 
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 sage-cell+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/c3e63e65-f1ff-4c56-9996-42eff59a2c0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to