Open kjulian3 opened 5 years ago
It seems that when using PGFPlots.Image with Interact, Base.show() gets called twice (Can be seen by adding a print statement to Base.show and setting cleanup(p::Image) = nothing
on line 742). Since Base.show deletes the png file during the first call, the second call gives an error that the file is missing. If PGFPlots.Image is called without Interact, Base.show is only called once and everything works correctly.
Any ideas to fix this issue?
On a Windows machine I’ve installed a fresh Jupyter with Julia 1.1 along with the most recent versions of Interact (v0.10.2) and PGFPlots (v3.0.3). I’m having trouble using the @manipulate macro to manipulate a PGFPlots.Image. The PNG file that gets created seems to be deleted before being shown, resulting in the following error:
If I plot without @manipulate, everything works just fine. Running @manipulate around other functions (such as PGFPlots.plot) also works just fine. The problem seems to be specifically using @manipulate around a PGFPlots.Image function. Here is a minimal working example: