Is it possible to only retain the outer edge (has no color fill) of the common markers like :circle
or :diamond
when using scatter
or scatterline
in CairoMakie.jl
?
This was the first result when I googled this Problem and it doesn’t have any answer yet. For documentation purposes here is the answer I found.
It is not supported yet but there is a workaround by setting color=:transparent
, strokewidth=2
and strokecolor=:blue
which is inconvenient but worked for me since I am using it with AlgebraOfGraphics.
If you don’t use AlgebraOfGraphics you have to define the color manually and can’t even use strokecolor=Cycled(i)
.
Also as mentioned in the previous post, using ◯, □ might help
The strokewidth way is not really a workaround but a good solution given the problems with line thickness you get when the marker actually has a hole. The only drawback is that it’s less convenient which is why I haven’t added the hole markers, yet. You can do your own though, if you want, anyone can define the necessary bezier path shapes.