# Makie scatter image marker no longer work

**URL:** <https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [May 9, 2022, 1:02am UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727 "2022-05-09T01:02:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![babaq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babaq/32/891_2.png) [@babaq](https://discourse.julialang.org/u/babaq)\
**Post date:** [May 9, 2022, 1:02am UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727/1 "2022-05-09T01:02:04Z")

</div>

I just found my old code not working any more:

```julia
Makie.scatter(1:2, 1:2,marker = [rand(Gray,3,3),rand(Gray,3,3)], markersize=30)

```

my julia version is 1.7.2 on win10, GLMakie is 0.5.5.

list of buildin marker works, for example `marker=[:x,:+]`, and single image works,but list of images will produce this:

StackOverflowError:  
\_collect(c::Vector{Matrix{RGBA{Float32}}}, itr::Base.Generator{Vector{Matrix{RGBA{Float32}}}, typeof(size)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1}) at array.jl:0  
collect\_similar at array.jl:653 [inlined]  
map at abstractarray.jl:2849 [inlined]  
draw\_scatter(p::Tuple{Observable{Vector{Matrix{RGBA{Float32}}}}, Observable{Vector{Point{2, Float32}}}}, data::Dict) at particles.jl:187  
draw\_scatter(p::Tuple{Observable{Vector{Matrix{RGBA{Float32}}}}, Observable{Vector{Point{2, Float32}}}}, data::Dict) at particles.jl:212

---

<div class="post-metadata">

**Author:** ![babaq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babaq/32/891_2.png) [@babaq](https://discourse.julialang.org/u/babaq)\
**Post date:** [May 11, 2022, 7:24pm UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727/2 "2022-05-11T19:24:55Z")

</div>

@sdanisch or anyone could verify this, or should I report it as a bug?

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [May 12, 2022, 8:07am UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727/3 "2022-05-12T08:07:08Z")

</div>

It’s a bug: [https://github.com/JuliaPlots/Makie.jl/pull/1917](https://github.com/JuliaPlots/Makie.jl/pull/1917)

---

<div class="post-metadata">

**Author:** ![babaq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babaq/32/891_2.png) [@babaq](https://discourse.julialang.org/u/babaq)\
**Post date:** [May 12, 2022, 5:52pm UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727/4 "2022-05-12T17:52:06Z")

</div>

The GLMakie master limit Observable.jl to \>0.5, which is not included in many [JuliaGizmos](https://github.com/JuliaGizmos) packakges, like Interact.jl and WebIO.jl. Is there any reason not include Observable.jl v0.4 for GLMakie?

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [May 13, 2022, 8:05am UTC](https://discourse.julialang.org/t/makie-scatter-image-marker-no-longer-work/80727/5 "2022-05-13T08:05:40Z")

</div>

Yes, because the newest Makie version relies on the 0.5 release.  
I think we really need to try to move away from WebIO, since it’s pretty much unmaintained.  
I hope to find some time soon to move some stuff to [JSServe](https://github.com/SimonDanisch/JSServe.jl).
