See https://netmath.vcrp.de/downloads/Systeme/Sage/Stichprobe.html
Evaluate first cell, generate histogram, change and evaluate first cell,
regenerate histogram - histogram unchanged.
Am Montag, 26. Juni 2017 04:30:44 UTC+2 schrieb Andrey Novoseltsev:
>
> 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?
>>
>
> Can you please give a full page example so I know exactly what has to be
> fixed?
>
--
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/b4711093-0b76-4904-b094-1a9b4037c51f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.