Skip to content

Line width changes when resizing window while keeping plot size constant #5197

@fps

Description

@fps

Details

Line width changes when resizing plot of size(200, 800) horizontally. Start with no open plot window. Then run:

Plots.plot(rand(10), size=(200,800)) |> display

Now grab the window and resize it horizontally:

Recording.2025-11-05.103520.mp4

All lines thicken when growing the size, except for the font.

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

(jl_zHq1xT) pkg> st -m GR
Status `C:\Users\fschmidt26\AppData\Local\Temp\jl_zHq1xT\Manifest.toml`
  [28b8d3ca] GR v0.73.18

(jl_zHq1xT) pkg> st -m Plots
Status `C:\Users\fschmidt26\AppData\Local\Temp\jl_zHq1xT\Manifest.toml`
  [91a5bcdd] Plots v1.41.1
Output of `versioninfo()`:
julia> versioninfo()
Julia Version 1.11.7
Commit f2b3dbda30 (2025-09-08 12:10 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 24 × Intel(R) Core(TM) Ultra 9 285
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 24 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions