# Figures not showing after depolyment with Documenter

**URL:** https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941
**Category:** General Usage
**Created:** [November 28, 2022, 9:30am UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941 "2022-11-28T09:30:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gobs](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gobs](https://discourse.julialang.org/u/gobs)
#### Post date: [November 28, 2022, 9:30am UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941/1 "2022-11-28T09:30:34Z")

</div>

When I deploy my documentation locally I’m able to get figures appearing in my examples. However when I deploy it on GitLab it does not (see [here](https://ucm.pages.gitlab.kuleuven.be/representativeperiodsfinder.jl/examples/days_re_ordering/)).

I have spent a lot of time just getting the documentation to deploy (lots of issues with `GR` for some reason), so am reluctant to spend more time on this. Any help?

---

<div class="post-metadata">

### Author: ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)
#### Post date: [November 28, 2022, 10:00am UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941/2 "2022-11-28T10:00:36Z")

</div>

Did you try setting `export GKSwstype=nul` in your build script ?

You can maybe get inspiration from [PlotDocs.jl/ci\_build.sh at master · JuliaPlots/PlotDocs.jl · GitHub](https://github.com/JuliaPlots/PlotDocs.jl/blob/master/docs/ci_build.sh),  
or [https://raw.githubusercontent.com/JuliaPlots/PlotDocs.jl/master/docs/src/backends.md](https://raw.githubusercontent.com/JuliaPlots/PlotDocs.jl/master/docs/src/backends.md).

Are the plots command enclosed in a `@example` triple-backticked blocks ?

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [November 28, 2022, 10:58am UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941/3 "2022-11-28T10:58:07Z")

</div>

There are a bunch of errors in the build logs: [pages (#480579) · Jobs · KU Leuven Energy Systems Integration and Modeling group / RepresentativePeriodsFinder.jl · GitLab](https://gitlab.kuleuven.be/UCM/representativeperiodsfinder.jl/-/jobs/480579) . Probably something went wrong before you got to the code producing the plot.

---

<div class="post-metadata">

### Author: ![gobs](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gobs](https://discourse.julialang.org/u/gobs)
#### Post date: [November 28, 2022, 11:48am UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941/4 "2022-11-28T11:48:06Z")

</div>

Ah yes, you’re quite right. I think this is due to using the latest julia version, will change that.

---

<div class="post-metadata">

### Author: ![gobs](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gobs](https://discourse.julialang.org/u/gobs)
#### Post date: [November 28, 2022, 12:08pm UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941/5 "2022-11-28T12:08:48Z")

</div>

Thanks for the quick reply and pointing out the bleeding obvious which I couldn’t see myself!
