Skip to content

No plot window appears without gui() while plotting from REPL #5237

@Gregstrq

Description

@Gregstrq

Details

When I try to plot something in REPL, no window is opened automatically. I have noticed this behavior both with GR and PyPlot backends.
If I run gui(), the window with the plot appears. However, if I change the plot, I need to run gui() again to actually update the displayed figure. The example I used is

using Plots

xs = range(0.0,1.0,1001)
plot(xs, sin.(2π.*xs))

Interestingly enough, if I plot directly with GR, the window is opened automatically without any problems.

I think this behavior appeared after I bumped julia to 1.12.4.

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
unicodeplots x
pythonplot x
pgfplotsx x
plotlyjs x
plotly x
gaston x

Versions

Plots.jl version: 1.14.1
Backend version (]st -m <backend(s)>): GR v0.73.22
PyPlot v2.11.6
Output of versioninfo():

Julia Version 1.12.4
Commit 01a2eadb047 (2026-01-06 16:56 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 × 13th Gen Intel(R) Core(TM) i9-13900K
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, alderlake)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 32 virtual cores)
Environment:
JULIA_DEPOT_PATH = /scratch/gstarkov/.julia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions