Open Cmurilochem opened 1 week ago
Hi @Cmurilochem Thanks for the update.
CairoMakie can be a solution.
Does CairoMakie also work for 3d plots? and for creating animations?
Hi @Cmurilochem Thanks for the update.
CairoMakie can be a solution.
Does CairoMakie also work for 3d plots? and for creating animations?
Hi @fverdugo. It does make 2D and 3D plots, although it looks like the quality of these latter is slightly lower than GLMakie
. However, as CairoMakie
is expected to generate png-like figures, they are not iterative. The good thing is that we can use both packages at our convenience.
I will show you latter today how the documentation would look like with transparent plots done with CairoMakie
.
See you soon.
@fverdugo and @raar1. While investigating this possibility I came across the following issue in the official
Makie.jl
repo: https://github.com/MakieOrg/Makie.jl/issues/4007It seems indeed that there is currently a bug in
GLMakie
which prevents one to make figures with transparent background.I tested it with
GalerkinToolkit
example:But if I set
bgcolor = :transparent
, The final figure is just a blank white canvas as described in https://github.com/MakieOrg/Makie.jl/issues/4007The only work around this I could find is to use
CairoMakie
, like so:I am not sure if this is an options for us ? If yes, I need to investigate how to include a
LScene
into our custom GalerkinToolkit Makie plots which for what I could experience so far is not so straightforwards as I initially thought.