Using WGLMaki in Pluto and tried following the thread here
My issue is that I seem to get different behaviour in different workbooks.
Starting a fresh workbook and adding the minimal example of
using WGLMakie, JSServe Page()
in separate cells work, producing the expected plot.
However, adding this at the beginning of another workbook that is “kind of” working in that it does produce plots but requires eg scatter to be prefixed as
WGLMakie.scatter(1:4) does not work, complaining about both Page and scatter being undefined.
Had similar behaviour with other workbooks before where one worked (producing plots) the other did not - but copying cell by cell from non-working to working workbook did work. (Phew, that’s s lot of work…
So I start to wonder if there is some non-obvious cache or other state in a workbook that may need clearing to sort this out? Having to copy things into a working “seed” workbook does not really feel like a viable option for more than a very small proof of concept.
[824d6782] JSServe v1.2.3 [c3e4b0f8] Pluto v0.15.1 [276b4fcb] WGLMakie v0.4.5