# How to have markers without fill color in Makie.jl?

**URL:** <https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698>\
**Category:** Specific Domains\
**Tags:** plotting\
**Created:** [October 13, 2022, 10:58pm UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698 "2022-10-13T22:58:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yhchang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yhchang/32/19197_2.png) [@yhchang](https://discourse.julialang.org/u/yhchang)\
**Post date:** [October 13, 2022, 10:58pm UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698/1 "2022-10-13T22:58:37Z")

</div>

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`?

---

<div class="post-metadata">

**Author:** ![karlroyen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/karlroyen/32/9301_2.png) [@karlroyen](https://discourse.julialang.org/u/karlroyen)\
**Post date:** [July 8, 2025, 10:14am UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698/2 "2025-07-08T10:14:44Z")

</div>

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](https://github.com/MakieOrg/Makie.jl/issues/4829) 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)`.

---

<div class="post-metadata">

**Author:** ![hz-xiaxz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hz-xiaxz/32/209585_2.png) [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Post date:** [July 9, 2025, 1:42am UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698/3 "2025-07-09T01:42:29Z")

</div>

> **[GitHub - liuyxpp/MakiePublication.jl: A Julia package for producing publication quality...](https://github.com/liuyxpp/MakiePublication.jl)**
>
> A Julia package for producing publication quality figures based on Makie.jl.

has this cool feature, but I haven’t investigated how they make it 😄

 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/7/179400a1b437732fddd0bb4b08e8f98cb1f65bcc.png)

---

<div class="post-metadata">

**Author:** ![hz-xiaxz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hz-xiaxz/32/209585_2.png) [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Post date:** [July 9, 2025, 1:46am UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698/4 "2025-07-09T01:46:22Z")

</div>

Also as mentioned in the previous post, using ◯, □ might help

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [July 9, 2025, 4:38am UTC](https://discourse.julialang.org/t/how-to-have-markers-without-fill-color-in-makie-jl/88698/5 "2025-07-09T04:38:45Z")

</div>

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.
