# Precompiling Plots LoadError Display not defined

**URL:** <https://discourse.julialang.org/t/precompiling-plots-loaderror-display-not-defined/74661>\
**Category:** General Usage\
**Created:** [January 15, 2022, 11:35am UTC](https://discourse.julialang.org/t/precompiling-plots-loaderror-display-not-defined/74661 "2022-01-15T11:35:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadil](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@fadil](https://discourse.julialang.org/u/fadil)\
**Post date:** [January 15, 2022, 11:35am UTC](https://discourse.julialang.org/t/precompiling-plots-loaderror-display-not-defined/74661/1 "2022-01-15T11:35:21Z")

</div>

I used Plots successfully.  
But now, when writing using Plots, I get the error:  
[Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]  
ERROR: LoadError: UndefVarError: Display not defined

What to do?
