JuliaPlots / Plots.jl

Powerful convenience for Julia visualizations and data analysis
https://docs.juliaplots.org
Other
1.84k stars 354 forks source link

[BUG] Large margins in GKS QtTerm windows #4016

Open ghost opened 2 years ago

ghost commented 2 years ago

Details

The latest version of Plots.jl displays plots with large margins in GKS QtTerm windows.

plot(Plots.fakedata(50,5))

Floating window:

screenshot-211109-1659-41

Maximized window:

screenshot-211109-1512-05

Just in case it is relevant, there are no decorations because I'm using a tiling window manager (dwm).

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot
plotlyjs
pgfplotsx
unicodeplots
inspectdr
gaston

Versions

Plots.jl version: 1.25.3 Backend version (]st -m <backend(s)>): Plots.GRBackend() Output of versioninfo():

Julia Version 1.6.3 Commit ae8452a9e0 (2021-09-23 17:34 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

ghost commented 2 years ago

This was silently fixed in a recent update.

screenshot-220220-1622-21 screenshot-220220-1621-41

I include versions of relevant packages below:

(@v1.6) pkg> status Status ~/.julia/environments/v1.6/Project.toml [e9467ef8] GLMakie v0.5.3 [28b8d3ca] GR v0.64.0 [91a5bcdd] Plots v1.25.11

Can anyone confirm this is not an issue anymore?