Skip to content

cant save a Makie plot #3707

Closed Answered by pndphd
pndphd asked this question in Q&A
Discussion options

You must be logged in to vote

found the solution

using AlgebraOfGraphics
using CairoMakie
using DataFrames

data_1 = DataFrame(a=1:4, b=5:8)

plot = data(data_1) *
mapping(:a => "A",
:b => "B") *
visual(Scatter)

made_plot = draw(plot)

save("plot.png", made_plot)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pndphd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant