# Using WGLMakie Plots in isolated cell view

**URL:** <https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134>\
**Category:** Pluto\
**Tags:** pluto, wglmakie\
**Created:** [November 13, 2023, 5:05am UTC](https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134 "2023-11-13T05:05:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niels](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/niels/32/203817_2.png) [@Niels](https://discourse.julialang.org/u/Niels)\
**Post date:** [November 13, 2023, 5:05am UTC](https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134/1 "2023-11-13T05:05:28Z")

</div>

Hey,

I want to display WGLMakie graphs in the Pluto isolated cell view.  
Minimal working example:

```julia
begin
	using WGLMakie
end

```

```julia
scatter(1:10) #create a scatter plot

```

```julia
cells = ["scatter cell id"] #get by PlutoRunner.currently_running_cell_id[]

```

```julia
notebook = PlutoRunner.notebook_id[] |> string

```

```julia
final_url = "http://localhost:1234/edit?" * "id=$notebook&" * join(["isolated_cell_id=$cell" for cell in cells], "&")

```

Running this shows the scatter plot. But when i open final\_url for the isolated cell view, it doesnt show the scatter plot. Changing the scatter cell to

```julia
"asd"

```

shows asd on the isolated cell view, what it should do.

Does the isolated cell view somehow not work with WGLMakie or did I do something wrong? Theres not really documentation for isolated cell view, so im kinda lost at this point.

Thank you

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 13, 2023, 1:51pm UTC](https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134/2 "2023-11-13T13:51:06Z")

</div>

I’m wondering if all the necessary JavaScript machinery is in place for isolated cell view.

---

<div class="post-metadata">

**Author:** ![Niels](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/niels/32/203817_2.png) [@Niels](https://discourse.julialang.org/u/Niels)\
**Post date:** [November 14, 2023, 5:08pm UTC](https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134/3 "2023-11-14T17:08:21Z")

</div>

Yeah, that’s probably the issue. I was wondering whether I could somehow get it to work anyways.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 14, 2023, 5:12pm UTC](https://discourse.julialang.org/t/using-wglmakie-plots-in-isolated-cell-view/106134/4 "2023-11-14T17:12:42Z")

</div>

You might need to use JSServe manually
