Export just the plotting area with Makie

Is it possible to save just the plotting area as a PDF from Cairo Makie? Hiding decorations and spines gets close. But there is still a small border around the output.

You can probably just do save("plot.pdf", ax.scene), that scene is the plotting area.

1 Like

Works a charm. Thank you.