Does save is not working in Makie?

I’ve tried to do a basic example following Makie tutorials

using Makie

x = rand(10)
y = rand(10)
colors = rand(10)
scene = scatter(x, y, color = colors)

Makie.save("plot_test.png", scene)

I can create the scene, but when I try to save it, I get the message UndefVarError: save not defined.

Am I forgetting something ? or is it just my PC with problems ?

Sorry, I must have removed the reexport of save during the big Makie → AbstractPlotting refactor…
You can simply use FileIO.save though!

1 Like