Details
When creating facetted plots, Plots seems to revert to defaults regarding character encoding and/or fontfamily above a certain amount of data.
Minimum reproductible example
ENV["GKS_ENCODING"] = "utf-8"
using Plots
gr(fontfamily="Hiragino Sans")
x = 1:0.1:250
y = sin.(x)
p = plot(x, y)
title!("テスト")
plot(p, p) ## Works fine
plot(p, p, p, p) ## Fails to display the title, uses a monospaced font (Courrier ?) and
## throws "GKS: glyph missing from current font" and "GKS: invalid bitmap size" warnings
Above example works fine if the upper limit of x is set instead to 100
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.41.6
Backend version (]st -m <backend(s)>):
Output of versioninfo():
Julia Version 1.12.6
Commit 15346901f00 (2026-04-09 19:20 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 8 × Apple M3
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m3)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 4 virtual cores)
Details
When creating facetted plots, Plots seems to revert to defaults regarding character encoding and/or fontfamily above a certain amount of data.
Minimum reproductible example
Above example works fine if the upper limit of
xis set instead to 100Backends
This bug occurs on ( insert
xbelow )Versions
Plots.jl version: 1.41.6
Backend version (
]st -m <backend(s)>):Output of
versioninfo():