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:
! Package luatex.def Error: File `tmp_10000000000001.png' not found: using draft
setting. See the luatex.def package documentation for explanation.
Type H <return> for immediate help. ... l.14 \end{axis}
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:
using Interact
using PGFPlots
function testPlot()
@manipulate for i = [1, 2, 3]
f = (x,y)->x*exp(-x^2-y^2)
g=PGFPlots.Image(f, (-i,i), (-i,i), colormap = ColorMaps.GrayMap(invert = true))
end
end
testPlot()
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: