# Gitpod great, except plotting.. Anyone managed to fix plotting?

**URL:** <https://discourse.julialang.org/t/gitpod-great-except-plotting-anyone-managed-to-fix-plotting/64347>\
**Category:** Tooling\
**Created:** [July 9, 2021, 12:33pm UTC](https://discourse.julialang.org/t/gitpod-great-except-plotting-anyone-managed-to-fix-plotting/64347 "2021-07-09T12:33:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Norberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jon_norberg/32/3218_2.png) [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Post date:** [July 9, 2021, 12:33pm UTC](https://discourse.julialang.org/t/gitpod-great-except-plotting-anyone-managed-to-fix-plotting/64347/1 "2021-07-09T12:33:14Z")

</div>

I have tried gitpod since I’d like to code on my iPad on travel. Its great, almost exactly like vscode, and extensions seem mostly to work. BUT… Any plotting from Julia seems to run into some barrier. I tried both Plots with gr() and plotly() as well as standalone VegaLite.

I get erros like:

**Plots/gr:** /home/gitpod/.julia/packages/GR/BwGt2/src/…/deps/gr/bin/gksqt: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory  
connect: Connection refused  
GKS: can’t connect to GKS socket application

**Plots/plotlyjs** : Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:  
ERROR: IOError: connect: connection refused (ECONNREFUSED)

or **VegaLite:**

julia\> data |\> @vlplot(:point, x=:Miles\_per\_Gallon, y=:Horsepower)  
Error showing value of type VegaLite.VLSpec:  
ERROR: IOError: could not spawn `xdg-open /tmp/jl_0nTC0a.vegalite.html`: no such file or directory (ENOENT)

---

<div class="post-metadata">

**Author:** ![Eduardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eduardo/32/46536_2.png) [@Eduardo](https://discourse.julialang.org/u/Eduardo)\
**Post date:** [February 3, 2023, 9:51pm UTC](https://discourse.julialang.org/t/gitpod-great-except-plotting-anyone-managed-to-fix-plotting/64347/2 "2023-02-03T21:51:46Z")

</div>

Almost one year later this still appears to be an issue, but I’ve been using UnicodePlots as a workaround. So far I’m pretty happy with developing for Julia in Gitpod, but it would definitely be nice to have full plotting functionality. If you’ve figured it out, please let me know!

---

<div class="post-metadata">

**Author:** ![rpmuller](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rpmuller/32/2262_2.png) [@rpmuller](https://discourse.julialang.org/u/rpmuller)\
**Post date:** [June 2, 2024, 1:14am UTC](https://discourse.julialang.org/t/gitpod-great-except-plotting-anyone-managed-to-fix-plotting/64347/3 "2024-06-02T01:14:04Z")

</div>

In the interest of completeness, I just spent the day getting Julia working with my Julia repos. Here’s the .gitpod.Dockerfile that I found worked for me:

```julia
FROM gitpod/workspace-full

ENV JULIA_PATH /usr/local/julia
ENV PATH $JULIA_PATH/bin:$PATH

RUN wget https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.3-linux-x86_64.tar.gz
RUN sudo mkdir $JULIA_PATH
RUN sudo tar -xzf julia-1.10.3-linux-x86_64.tar.gz -C $JULIA_PATH --strip-components 1

```

Plotting works, as do Jupyter notebooks with Julia kernels.
