# Plots do not display, unless I call gui(), when using custom sysimage

**URL:** <https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207>\
**Category:** General Usage\
**Tags:** plots, sysimage\
**Created:** [December 28, 2022, 1:36am UTC](https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207 "2022-12-28T01:36:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rdiaz02](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@rdiaz02](https://discourse.julialang.org/u/rdiaz02)\
**Post date:** [May 16, 2024, 8:02pm UTC](https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207/4 "2024-05-16T20:02:30Z")

</div>

Sorry if I wasn’t clear, and for not linking the PR: I suggested a change to the documentation ( [suggest using Plots.\_\_init\_\_() (#750) · JuliaLang/PackageCompiler.jl@9b6b461 · GitHub](https://github.com/JuliaLang/PackageCompiler.jl/commit/9b6b461352edf389d5f54f60442521a82025dd69) ) and that was incorporated in the documentation. (I haven’t used Julia in a while so I am not sure if things work as of now with the suggested changes; note, though, that there also seemed to be issues with the creation of sysimages that include Plots: [Sysimage creation example with plots does not seem to work](https://discourse.julialang.org/t/sysimage-creation-example-with-plots-does-not-seem-to-work/101269) and [PackageCompiler spins infinitely when compiling sysimage · Issue #825 · JuliaLang/PackageCompiler.jl · GitHub](https://github.com/JuliaLang/PackageCompiler.jl/issues/825) ).

---

_[View the full topic](https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207)._
