# No backend available (GLMakie, CairoMakie, WGLMakie)

**URL:** <https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984>\
**Category:** General Usage\
**Tags:** agents, makie\
**Created:** [June 16, 2021, 2:14am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984 "2021-06-16T02:14:13Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Libbum](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/libbum/32/3935_2.png) [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Post date:** [June 24, 2021, 6:55am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/21 "2021-06-24T06:55:36Z")

</div>

@Theodd, what is this editor you’re using? I think there is an issue with Atom and Makie. @Datseris has had this issue before and if I recall knows what is wrong (but there is no current fix). I believe the development of Julia IDE work has now shifted to VSCode and as a consequence there are things no longer being triaged in Atom.

---

<div class="post-metadata">

**Author:** ![Theodd](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@Theodd](https://discourse.julialang.org/u/Theodd)\
**Post date:** [June 24, 2021, 7:56am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/22 "2021-06-24T07:56:46Z")

</div>

@Libbum I was indeed on Julia via Atom. Was completely unaware of the switch-over to VSCode, this really should be better advertised on the Juno pages.

Thank you ever so much for the notice, I’m switching over and hoping all is well.

---

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [June 24, 2021, 8:58am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/23 "2021-06-24T08:58:05Z")

</div>

Can confirm. The problem was Atom. Well, no, let’s be fair. The problem was WebIO, but thus whole business convinced me to move from Atom to VSCode, where there the whole pipeline is well supported.

---

<div class="post-metadata">

**Author:** ![timcop](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timcop/32/27693_2.png) [@timcop](https://discourse.julialang.org/u/timcop)\
**Post date:** [July 31, 2021, 7:18am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/24 "2021-07-31T07:18:08Z")

</div>

Just wanted to mention that I also ran into this issue and found I wasn’t able to update Makie from v0.13.14 → v0.15.0 (latest), solved this by creating a test environment and adding my packages one by one starting with Makie@0.15.0 and found that when adding either Plotly or Interact it downgrades Makie to v0.13.14. I also found that I had to put “using GLMakie” as well as “using Makie” for using Makie.volume() which I didn’t have to do on previous versions.

Hope this can be of aid to anyone that ran into a similar problem, thank you to @Libbum for the advice!

---

<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:** [July 31, 2021, 3:20pm UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/25 "2021-07-31T15:20:14Z")

</div>

This is explained in the docs:  
[http://makie.juliaplots.org/dev/#Installation-and-Import](http://makie.juliaplots.org/dev/#Installation-and-Import)  
Nowadays, when plotting, one needs to only import the backend!

---

<div class="post-metadata">

**Author:** ![tlorans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlorans/32/19849_2.png) [@tlorans](https://discourse.julialang.org/u/tlorans)\
**Post date:** [October 20, 2021, 9:38am UTC](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984/26 "2021-10-20T09:38:47Z")

</div>

Hello,

I’ve got the same issue here, even starting a new test environment.  
Using this code:

```julia
using Agents, Random
using InteractiveDynamics
using CairoMakie

model, agent_step!, model_step! = Models.forest_fire()

alive(model) = count(a.status == :green for a in allagents(model))
burning(model) = count(a.status == :burning for a in allagents(model))
mdata = [alive, burning, nagents]
mlabels = ["alive", "burning", "total"]

params = Dict(
    :f => 0.02:0.01:1.0,
    :p => 0.01:0.01:1.0,
)

ac(a) = a.status ? "#1f851a" : "#67091b"
am = :rect

p1 = abm_data_exploration(model, agent_step!, model_step!, params;
ac = ac, as = 1, am = am, mdata, mlabels)

```

I’ve got the following error:

```julia
TypeError: in typeassert, expected Vector{Float32}, got a value of type Vector{Union{}} 

```

If i switch to another backend environment (GLMakie for example) I’ve got another error:

```julia
Error: Error while rendering!

```

Anyone knows what could be the source of these issues?

[Previous page](https://discourse.julialang.org/t/no-backend-available-glmakie-cairomakie-wglmakie/62984.md?page=1)
