-
Hi I'm encountering errors when trying to save a makie plot. Here is the example using AlgebraOfGraphics data_1 = DataFrame(a=1:4, b=5:8) plot = data(data_1) * display(draw(plot)) and here is the error Warning: Mapping to the storage type failed; perhaps your data had out-of-range values?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
found the solution using AlgebraOfGraphics data_1 = DataFrame(a=1:4, b=5:8) plot = data(data_1) * made_plot = draw(plot) save("plot.png", made_plot) |
Beta Was this translation helpful? Give feedback.
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)